cyberta 5 лет назад
Родитель
Сommit
4a8d24c8d5
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      deltachat-ios/MessageKit/Controllers/BasicAudioController.swift

+ 1 - 1
deltachat-ios/MessageKit/Controllers/BasicAudioController.swift

@@ -233,7 +233,7 @@ open class BasicAudioController: NSObject, AVAudioPlayerDelegate {
         stopAnyOngoingPlaying()
         stopAnyOngoingPlaying()
     }
     }
 
 
-    // MARK: - AVAudioSessionRouteChange handler
+    // MARK: - AVAudioSession.routeChangeNotification handler
     @objc func audioRouteChanged(note: Notification) {
     @objc func audioRouteChanged(note: Notification) {
       if let userInfo = note.userInfo {
       if let userInfo = note.userInfo {
         if let reason = userInfo[AVAudioSessionRouteChangeReasonKey] as? Int {
         if let reason = userInfo[AVAudioSessionRouteChangeReasonKey] as? Int {