diff --git a/app/src/full/java/io/homeassistant/companion/android/notifications/NotificationDeleteReceiver.kt b/app/src/full/java/io/homeassistant/companion/android/notifications/NotificationDeleteReceiver.kt
index e97390ce6..347c0b2bd 100644
--- a/app/src/full/java/io/homeassistant/companion/android/notifications/NotificationDeleteReceiver.kt
+++ b/app/src/full/java/io/homeassistant/companion/android/notifications/NotificationDeleteReceiver.kt
@@ -45,13 +45,13 @@ class NotificationDeleteReceiver : BroadcastReceiver() {
runBlocking {
try {
- integrationRepository.fireEvent("mobile_app_notification_dismissed", hashData)
- Log.d(TAG, "Notification dismiss event successful!")
+ integrationRepository.fireEvent("mobile_app_notification_cleared", hashData)
+ Log.d(TAG, "Notification cleared event successful!")
} catch (e: Exception) {
Log.e(TAG, "Issue sending event to Home Assistant", e)
Toast.makeText(
context,
- R.string.notification_dismiss_failure,
+ R.string.notification_clear_failure,
Toast.LENGTH_LONG
).show()
}
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 38a30551d..57246f304 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -139,7 +139,7 @@ Home Assistant instance
enter address manually
Map
Need Help?
- Failed to send event on notification dismissed
+ Failed to send event on notification cleared
Create duplicate
Notification Rate Limit
Rate limit data