mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Fix jumbo emoji having bubbles bugs.
This commit is contained in:
@@ -54,7 +54,7 @@ fun MessageRecord.isBorderless(context: Context): Boolean {
|
||||
}
|
||||
|
||||
fun MessageRecord.hasNoBubble(context: Context): Boolean =
|
||||
hasSticker() || isBorderless(context) || (isTextOnly(context) && isJumbomoji(context) && messageRanges?.rangesList?.isEmpty() == true)
|
||||
hasSticker() || isBorderless(context) || (isTextOnly(context) && isJumbomoji(context) && (messageRanges?.rangesList?.isEmpty() ?: true))
|
||||
|
||||
fun MessageRecord.hasOnlyThumbnail(context: Context): Boolean {
|
||||
return hasThumbnail() &&
|
||||
|
||||
Reference in New Issue
Block a user