fix(nests): drop redundant Live chip while broadcasting

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.
This commit is contained in:
Claude
2026-04-30 19:14:17 +00:00
parent 640e7904e4
commit 7be8ac5106
2 changed files with 0 additions and 11 deletions
@@ -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) },
-1
View File
@@ -521,7 +521,6 @@
<string name="nest_mic_mute">Mute mic</string>
<string name="nest_mic_unmute">Unmute mic</string>
<string name="nest_broadcast_connecting">Going live…</string>
<string name="nest_broadcasting">Live</string>
<string name="nest_broadcast_failed">Broadcast failed: %1$s</string>
<string name="nest_mute_failed">Mute failed: %1$s</string>
<string name="nest_record_permission_required">Microphone access is required to talk in this room.</string>