From 7be8ac510675934dd3ae37eee5caeb7974dbf3ab Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 30 Apr 2026 19:14:17 +0000 Subject: [PATCH] fix(nests): drop redundant Live chip while broadcasting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The red Mic-on FilledIconButton already conveys "you are live, tap to stop" — the AssistChip labelled "Live" beside it was duplicate visual noise. Removed the chip and its now-orphan string. Mute toggle + red Mic + Leave the Stage are sufficient to express the broadcasting state. --- .../screen/loggedIn/nests/room/screen/NestActionBar.kt | 10 ---------- amethyst/src/main/res/values/strings.xml | 1 - 2 files changed, 11 deletions(-) diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/screen/NestActionBar.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/screen/NestActionBar.kt index 4c72d5fb6a..b26facf66d 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/screen/NestActionBar.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/nests/room/screen/NestActionBar.kt @@ -34,7 +34,6 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.size import androidx.compose.foundation.layout.width import androidx.compose.material3.AssistChip -import androidx.compose.material3.AssistChipDefaults import androidx.compose.material3.Button import androidx.compose.material3.ButtonDefaults import androidx.compose.material3.FilledIconButton @@ -338,15 +337,6 @@ private fun OnStageControls( } is BroadcastUiState.Broadcasting -> { - AssistChip( - onClick = {}, - enabled = false, - label = { Text(stringRes(R.string.nest_broadcasting)) }, - colors = - AssistChipDefaults.assistChipColors( - disabledLabelColor = MaterialTheme.colorScheme.error, - ), - ) FilledTonalIconToggleButton( checked = broadcast.isMuted, onCheckedChange = { viewModel.setMicMuted(it) }, diff --git a/amethyst/src/main/res/values/strings.xml b/amethyst/src/main/res/values/strings.xml index 6793400898..34774ee7ff 100644 --- a/amethyst/src/main/res/values/strings.xml +++ b/amethyst/src/main/res/values/strings.xml @@ -521,7 +521,6 @@ Mute mic Unmute mic Going live… - Live Broadcast failed: %1$s Mute failed: %1$s Microphone access is required to talk in this room.