From 699855977a07a5d67d786731140f5a4a11e3a394 Mon Sep 17 00:00:00 2001 From: mueller-ma Date: Tue, 16 Jul 2024 13:17:35 +0200 Subject: [PATCH] Fix wrong icon shown for notifications without icon Signed-off-by: mueller-ma --- .../java/org/openhab/habdroid/ui/CloudNotificationAdapter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/src/main/java/org/openhab/habdroid/ui/CloudNotificationAdapter.kt b/mobile/src/main/java/org/openhab/habdroid/ui/CloudNotificationAdapter.kt index 174c10a59f..4a4b5fd17d 100644 --- a/mobile/src/main/java/org/openhab/habdroid/ui/CloudNotificationAdapter.kt +++ b/mobile/src/main/java/org/openhab/habdroid/ui/CloudNotificationAdapter.kt @@ -149,6 +149,8 @@ class CloudNotificationAdapter(context: Context, private val loadMoreListener: ( ), timeoutMillis = 2000 ) + } else { + iconView.applyFallbackDrawable() } imageView.isVisible = notification.mediaAttachmentUrl != null CoroutineScope(Dispatchers.IO + Job()).launch {