mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-04-14 05:15:54 +00:00
android, desktop: removed additional background under chat bubbles (#4287)
This commit is contained in:
committed by
GitHub
parent
6f19a7a20f
commit
83706b19da
@@ -224,6 +224,8 @@ object ThemeManager {
|
||||
s.length == 1 -> "#ff$s$s$s$s$s$s"
|
||||
s.length == 2 -> "#ff$s$s$s"
|
||||
s.length == 3 -> "#ff$s$s"
|
||||
s.length == 4 && this.alpha == 0f -> "#0000$s" // 000088ff treated as 88ff
|
||||
s.length == 4 -> "#ff00$s"
|
||||
s.length == 6 && this.alpha == 0f -> "#00$s"
|
||||
s.length == 6 -> "#ff$s"
|
||||
else -> "#$s"
|
||||
|
||||
@@ -189,13 +189,6 @@ fun FramedItemView(
|
||||
val receivedColor = MaterialTheme.appColors.receivedMessage
|
||||
Box(Modifier
|
||||
.clip(RoundedCornerShape(18.dp))
|
||||
.background(
|
||||
when {
|
||||
transparentBackground -> Color.Transparent
|
||||
sent -> MaterialTheme.colors.background
|
||||
else -> MaterialTheme.colors.background
|
||||
}
|
||||
)
|
||||
.background(
|
||||
when {
|
||||
transparentBackground -> Color.Transparent
|
||||
|
||||
Reference in New Issue
Block a user