diff --git a/app/src/main/kotlin/io/flamenet/messenger/app/MessagesScreen.kt b/app/src/main/kotlin/io/flamenet/messenger/app/MessagesScreen.kt index bf31f40..e5dba4c 100644 --- a/app/src/main/kotlin/io/flamenet/messenger/app/MessagesScreen.kt +++ b/app/src/main/kotlin/io/flamenet/messenger/app/MessagesScreen.kt @@ -83,8 +83,26 @@ fun ColumnScope.MessagesScreen( Divider() Spacer(Modifier.height(Space.sm)) - // The kit's listing holds every conversation — groups included. + // The kit's listing holds every conversation — groups included. Two kinds + // of thing share the list, so each gets the kit's muted label. + Text( + "GROUPS", + fontSize = 12.sp, + fontWeight = FontWeight.Medium, + color = Palette.SecondaryText, + letterSpacing = androidx.compose.ui.unit.TextUnit( + 0.8f, androidx.compose.ui.unit.TextUnitType.Sp), + ) GroupsSection(model, phase, query.value, creatingGroup.value) { creatingGroup.value = it } + Spacer(Modifier.height(Space.sm)) + Text( + "CHATS", + fontSize = 12.sp, + fontWeight = FontWeight.Medium, + color = Palette.SecondaryText, + letterSpacing = androidx.compose.ui.unit.TextUnit( + 0.8f, androidx.compose.ui.unit.TextUnitType.Sp), + ) val shown = phase.buddies .filter {