Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3360f47c authored by moezbhatti's avatar moezbhatti
Browse files

Silence errors when trying to load contact photo for notification

parent 459b0510
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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