mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 00:59:49 +01:00
Hide bubble for jumbomoji.
This commit is contained in:
committed by
Alex Hart
parent
4e67752850
commit
3922bfacf5
@@ -43,7 +43,7 @@ fun MessageRecord.isBorderless(context: Context): Boolean {
|
||||
}
|
||||
|
||||
fun MessageRecord.hasNoBubble(context: Context): Boolean =
|
||||
hasSticker() || isBorderless(context)
|
||||
hasSticker() || isBorderless(context) || (isTextOnly(context) && isJumbomoji(context))
|
||||
|
||||
fun MessageRecord.hasOnlyThumbnail(context: Context): Boolean {
|
||||
return hasThumbnail() &&
|
||||
|
||||
Reference in New Issue
Block a user