Browse Source

keep switch exhaustive add add new .limited value

B. Petersen 4 years ago
parent
commit
1fad24ab72
1 changed files with 1 additions and 1 deletions
  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()
                     }
                 }