Skip to content

Commit 9853b02

Browse files
author
Scott Baar
committed
uint cast
1 parent 7fa4301 commit 9853b02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNInCallManager/RNInCallManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ class RNInCallManager: NSObject, AVAudioPlayerDelegate {
377377
self.audioSessionRouteChangeObserver = self.startObserve(AVAudioSessionRouteChangeNotification, object: nil, queue: nil) { notification in
378378
guard notification.name == AVAudioSessionRouteChangeNotification && notification.userInfo != nil else { return }
379379

380-
if let rawValue = notification.userInfo?[AVAudioSessionRouteChangeReasonKey] as ? UInt {
380+
if let rawValue = notification.userInfo?[AVAudioSessionRouteChangeReasonKey] as? UInt {
381381
if let type = AVAudioSessionRouteChangeReason(rawValue: rawValue) {
382382
switch type {
383383
case .Unknown:

0 commit comments

Comments
 (0)