Skip to content

Commit

Permalink
Fix wrong icon shown for notifications without icon
Browse files Browse the repository at this point in the history
Signed-off-by: mueller-ma <[email protected]>
  • Loading branch information
mueller-ma committed Jul 16, 2024
1 parent fcd993c commit 6998559
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 6998559

Please sign in to comment.