Explorar el Código

keep switch exhaustive add add new .limited value

B. Petersen hace 4 años
padre
commit
1fad24ab72
Se han modificado 1 ficheros con 1 adiciones y 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()
                     }
                 }