fixes binwiederhier/ntfy#634
This commit is contained in:
parent
a462d70a49
commit
a4b74a5c19
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue