Fix normal images not working after gif changes (#4289)
Fix normal images not working
This commit is contained in:
parent
2eaf0cddb2
commit
de3a3481e2
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue