Skip to content

Commit 24073bf

Browse files
committed
improve font color and weight for threads list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
1 parent b9ec21d commit 24073bf

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • app/src/main/java/com/nextcloud/talk/threadsoverview/components

app/src/main/java/com/nextcloud/talk/threadsoverview/components/ThreadRow.kt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ fun ThreadRow(
6969
text = title,
7070
style = MaterialTheme.typography.titleSmall,
7171
color = MaterialTheme.colorScheme.onSurfaceVariant,
72-
fontWeight = FontWeight.Thin,
72+
fontWeight = FontWeight.Medium,
7373
maxLines = 1,
7474
overflow = TextOverflow.Companion.Ellipsis
7575
)
@@ -89,7 +89,7 @@ fun ThreadRow(
8989
Text(
9090
text = secondLineTitle,
9191
style = MaterialTheme.typography.titleMedium,
92-
fontWeight = FontWeight.Normal,
92+
fontWeight = FontWeight.Medium,
9393
maxLines = 1,
9494
overflow = TextOverflow.Companion.Ellipsis
9595
)
@@ -98,7 +98,8 @@ fun ThreadRow(
9898
modifier = Modifier.Companion.weight(1f),
9999
text = secondLine,
100100
style = MaterialTheme.typography.titleMedium,
101-
fontWeight = FontWeight.Thin,
101+
fontWeight = FontWeight.Normal,
102+
color = MaterialTheme.colorScheme.outline,
102103
maxLines = 1,
103104
overflow = TextOverflow.Companion.Ellipsis
104105
)

0 commit comments

Comments
 (0)