From 4d77e21cf90be00e5be423c484fe014cae8844b9 Mon Sep 17 00:00:00 2001 From: Paul Hitt Date: Fri, 28 Aug 2026 15:28:55 -0400 Subject: [PATCH] Messages tab: Chats/Groups section headings Co-Authored-By: Claude Opus 4.8 --- .../flamenet/messenger/app/MessagesScreen.kt | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) 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 {