mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-30 21:26:57 +02:00
Voice broadcast connection error handling while recording (#7282)
This commit is contained in:
@@ -100,8 +100,14 @@ final class AppCoordinator: NSObject, AppCoordinatorType {
|
||||
|
||||
if AppDelegate.theDelegate().isOffline {
|
||||
self.splitViewCoordinator?.showAppStateIndicator(with: VectorL10n.networkOfflineTitle, icon: UIImage(systemName: "wifi.slash"))
|
||||
|
||||
// Pause voice broadcast recording without sending pending events.
|
||||
VoiceBroadcastRecorderProvider.shared.pauseRecordingOnError()
|
||||
} else {
|
||||
self.splitViewCoordinator?.hideAppStateIndicator()
|
||||
|
||||
// Send pause voice broadcast event.
|
||||
VoiceBroadcastRecorderProvider.shared.pauseRecording()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user