This commit is contained in:
Hunter Kehoe 2023-03-02 14:33:47 -07:00
parent a462d70a49
commit a4b74a5c19

View file

@ -100,6 +100,8 @@ class MainAdapter(private val repository: Repository, private val onClick: (Subs
val showMutedUntilIcon = !showMutedForeverIcon && (subscription.mutedUntil > 1L || globalMutedUntil > 1L) && !isUnifiedPush val showMutedUntilIcon = !showMutedForeverIcon && (subscription.mutedUntil > 1L || globalMutedUntil > 1L) && !isUnifiedPush
if (subscription.icon != null) { if (subscription.icon != null) {
imageView.setImageBitmap(subscription.icon.readBitmapFromUriOrNull(context)) imageView.setImageBitmap(subscription.icon.readBitmapFromUriOrNull(context))
} else {
imageView.setImageResource(R.drawable.ic_sms_gray_24dp)
} }
nameView.text = displayName(subscription) nameView.text = displayName(subscription)
statusView.text = statusMessage statusView.text = statusMessage