From a4b74a5c19e1079bbf9b532844c856b2acb08522 Mon Sep 17 00:00:00 2001 From: Hunter Kehoe Date: Thu, 2 Mar 2023 14:33:47 -0700 Subject: [PATCH] fixes binwiederhier/ntfy#634 --- app/src/main/java/io/heckel/ntfy/ui/MainAdapter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/heckel/ntfy/ui/MainAdapter.kt b/app/src/main/java/io/heckel/ntfy/ui/MainAdapter.kt index bb78468..e269713 100644 --- a/app/src/main/java/io/heckel/ntfy/ui/MainAdapter.kt +++ b/app/src/main/java/io/heckel/ntfy/ui/MainAdapter.kt @@ -100,6 +100,8 @@ class MainAdapter(private val repository: Repository, private val onClick: (Subs val showMutedUntilIcon = !showMutedForeverIcon && (subscription.mutedUntil > 1L || globalMutedUntil > 1L) && !isUnifiedPush if (subscription.icon != null) { imageView.setImageBitmap(subscription.icon.readBitmapFromUriOrNull(context)) + } else { + imageView.setImageResource(R.drawable.ic_sms_gray_24dp) } nameView.text = displayName(subscription) statusView.text = statusMessage