Fix normal images not working after gif changes (#4289)

Fix normal images not working
This commit is contained in:
Nicolas Mowen 2024-03-25 09:10:40 -06:00 committed by GitHub
parent 2eaf0cddb2
commit de3a3481e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1214,7 +1214,7 @@ class MessagingManager @Inject constructor(
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
saveTempAnimatedImage(serverId, url, !UrlUtil.isAbsoluteUrl(dataImage))?.let { filePath ->
style.bigPicture(Icon.createWithContentUri(filePath))
} ?: { style.bigPicture(bitmap) }
} ?: run { style.bigPicture(bitmap) }
} else {
style.bigPicture(bitmap)
}