Merge pull request #7172 from vector-im/phlpro/voice_broadcast_live_button

VoiceBroadcast: Link the live icon color to the recording state
This commit is contained in:
Phl-Pro
2022-12-16 14:27:48 +01:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
@@ -33,7 +33,7 @@ struct VoiceBroadcastPlaybackView: View {
@State private var bufferingSpinnerRotationValue = 0.0
private var backgroundColor: Color {
if viewModel.viewState.playingState.isLive {
if viewModel.viewState.broadcastState != .paused {
return theme.colors.alert
}
return theme.colors.quarterlyContent