Change bubble width ration to 85% (#904)
This commit is contained in:
committed by
Benoit Marty
parent
e09b8aca0e
commit
bc612dfa8a
@@ -51,8 +51,8 @@ import io.element.android.libraries.theme.ElementTheme
|
||||
private val BUBBLE_RADIUS = 12.dp
|
||||
private val BUBBLE_INCOMING_OFFSET = 16.dp
|
||||
|
||||
// Design says: The maximum width of a bubble is still 3/4 of the screen width
|
||||
private const val BUBBLE_WIDTH_RATIO = 0.75f
|
||||
// Design says: The maximum width of a bubble is still 3/4 of the screen width. But try with 85% now.
|
||||
private const val BUBBLE_WIDTH_RATIO = 0.85f
|
||||
|
||||
@OptIn(ExperimentalFoundationApi::class)
|
||||
@Composable
|
||||
|
||||
Reference in New Issue
Block a user