Skip to content

Commit

Permalink
[Calling][Bugfix] Initial switch to speaker fails, causing the audio …
Browse files Browse the repository at this point in the history
…device drawer to not populate (#893)
  • Loading branch information
ahammer authored Jun 20, 2024
1 parent 5ff948f commit a40a227
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class AudioSessionManager: AudioSessionManagerProtocol {
} catch let error {
logger.error("Failed to select audio device, reason: \(error.localizedDescription)")
store.dispatch(action: .localUserAction(.audioDeviceChangeFailed(error: error)))
store.dispatch(action: .localUserAction(.audioDeviceChangeSucceeded(device: getCurrentAudioDevice())))
}
}

Expand Down

0 comments on commit a40a227

Please sign in to comment.