mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Silence errors when trying to load contact photo for notification
This commit is contained in:
@@ -160,7 +160,7 @@ class NotificationManagerImpl @Inject constructor(
|
||||
.circleCrop()
|
||||
.load(PhoneNumberUtils.stripSeparators(message.address))
|
||||
.submit(64.dpToPx(context), 64.dpToPx(context))
|
||||
.let { futureGet -> tryOrNull { futureGet.get() } }
|
||||
.let { futureGet -> tryOrNull(false) { futureGet.get() } }
|
||||
?.let(IconCompat::createWithBitmap))
|
||||
|
||||
recipient?.contact
|
||||
|
||||
Reference in New Issue
Block a user