Gallery icon indicating copy to clipboard operation
Gallery copied to clipboard

Make sure the permissions controller is displayed if the camera permi…

Open onato opened this issue 6 years ago • 3 comments

…ssions are not determined. https://github.com/hyperoslo/Gallery/issues/141

Possible something similar should be done with Photos permissions. Should we really show the permissions controller if the user has said no to photos and yes to the camera?

onato avatar Feb 26 '19 03:02 onato

We are having this issue crop up as well, would love the fix to be included

neodave avatar Jul 12 '19 19:07 neodave

The permissions controller fix is not working for me. You have your code below this line

let useCamera = Permission.Camera.needsPermission && Permission.Camera.status == .authorized

Which seems to make your code never return nil

if useCamera, Permission.Camera.status == .notDetermined { return nil }

neodave avatar Aug 01 '19 23:08 neodave

Added the showStatusBar separately.

What I hear from @neodave is that this proposed fix doesn't work. Any clues what might work?

3lvis avatar Oct 04 '20 16:10 3lvis