mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user