fix(messages): Refresh channel placeholders after updates (#6054)

This commit is contained in:
Jeremiah K authored and GitHub committed 2026-07-01 21:33:16 +00:00
1 parent 19168c5ca1
commit 9ed656c532
1 file changed
+2 -2
@@ -146,8 +146,8 @@ fun ContactsScreen(
// Create channel placeholders (always show broadcast contacts, even when empty)
val channels by viewModel.channels.collectAsStateWithLifecycle()
val channelPlaceholders =
remember(channels.settings.size) {
(0 until channels.settings.size).map { ch ->
remember(channels) {
channels.settings.mapIndexed { ch, _ ->
Contact(
contactKey = "$ch^all",
shortName = "$ch",