Invite list: typography tweaks

This commit is contained in:
Chris Smith
2023-06-01 10:06:25 +01:00
parent 9f26226edc
commit e10b6ca9dd

View File

@@ -116,7 +116,7 @@ internal fun DefaultInviteSummaryRow(
// Name
Text(
fontSize = 16.sp,
fontWeight = FontWeight.SemiBold,
fontWeight = FontWeight.Medium,
text = invite.roomName,
color = MaterialTheme.colorScheme.primary,
maxLines = 1,
@@ -192,7 +192,9 @@ private fun SenderRow(sender: InviteSender) {
append(text.drop(nameIndex + placeholder.length))
},
color = MaterialTheme.colorScheme.secondary,
modifier = Modifier.padding(top = 6.dp),
fontSize = 14.sp,
fontWeight = FontWeight.Normal,
modifier = Modifier.padding(top = 12.dp),
inlineContent = persistentMapOf(
"avatar" to InlineTextContent(
with(LocalDensity.current) {