forked from upstream-mirrors/quik
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