mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-23 06:08: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()
|
.circleCrop()
|
||||||
.load(PhoneNumberUtils.stripSeparators(message.address))
|
.load(PhoneNumberUtils.stripSeparators(message.address))
|
||||||
.submit(64.dpToPx(context), 64.dpToPx(context))
|
.submit(64.dpToPx(context), 64.dpToPx(context))
|
||||||
.let { futureGet -> tryOrNull { futureGet.get() } }
|
.let { futureGet -> tryOrNull(false) { futureGet.get() } }
|
||||||
?.let(IconCompat::createWithBitmap))
|
?.let(IconCompat::createWithBitmap))
|
||||||
|
|
||||||
recipient?.contact
|
recipient?.contact
|
||||||
|
|||||||
Reference in New Issue
Block a user