Explorar o código

keep switch exhaustive add add new .limited value

B. Petersen %!s(int64=4) %!d(string=hai) anos
pai
achega
1fad24ab72
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      deltachat-ios/Helper/MediaPicker.swift

+ 1 - 1
deltachat-ios/Helper/MediaPicker.swift

@@ -62,7 +62,7 @@ class MediaPicker: NSObject, UINavigationControllerDelegate, AudioRecorderContro
                     switch status {
                     case  .denied, .notDetermined, .restricted:
                         print("denied")
-                    case .authorized:
+                    case .authorized, .limited:
                         self?.presentPhotoVideoLibrary()
                     }
                 }