mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 20:01:55 +00:00
Typing notification: reduce horizontal padding.
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ class TypingNotificationStateProvider : PreviewParameterProvider<TypingNotificat
|
|||||||
),
|
),
|
||||||
aTypingNotificationState(
|
aTypingNotificationState(
|
||||||
typingMembers = listOf(
|
typingMembers = listOf(
|
||||||
aTypingRoomMember(displayName = "Alice with a very long display name"),
|
aTypingRoomMember(displayName = "Alice with a very long display name which means that it will be truncated"),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ fun TypingNotificationView(
|
|||||||
Text(
|
Text(
|
||||||
modifier = modifier
|
modifier = modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(horizontal = 68.dp, vertical = 2.dp),
|
.padding(horizontal = 24.dp, vertical = 2.dp),
|
||||||
text = typingNotificationText,
|
text = typingNotificationText,
|
||||||
overflow = TextOverflow.Ellipsis,
|
overflow = TextOverflow.Ellipsis,
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user