mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Change bubble width ration to 85% (#904)
This commit is contained in:
committed by
Benoit Marty
parent
d7cb8e076c
commit
1b7aa4dd93
+2
-2
@@ -51,8 +51,8 @@ import io.element.android.libraries.theme.ElementTheme
|
|||||||
private val BUBBLE_RADIUS = 12.dp
|
private val BUBBLE_RADIUS = 12.dp
|
||||||
private val BUBBLE_INCOMING_OFFSET = 16.dp
|
private val BUBBLE_INCOMING_OFFSET = 16.dp
|
||||||
|
|
||||||
// Design says: The maximum width of a bubble is still 3/4 of the screen width
|
// 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.75f
|
private const val BUBBLE_WIDTH_RATIO = 0.85f
|
||||||
|
|
||||||
@OptIn(ExperimentalFoundationApi::class)
|
@OptIn(ExperimentalFoundationApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
|
|||||||
Reference in New Issue
Block a user