Skip to content

Commit b80b0dc

Browse files
committed
Make sure the permissions controller is displayed if the camera permissions are not determined. #141
1 parent 11183c1 commit b80b0dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Gallery/GalleryController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class GalleryController: UIViewController, PermissionControllerDelegate {
6868
}
6969

7070
func makePagesController() -> PagesController? {
71-
guard Permission.Photos.status == .authorized else {
71+
guard Permission.Photos.status == .authorized, Permission.Camera.status != .notDetermined else {
7272
return nil
7373
}
7474

0 commit comments

Comments
 (0)