[ExpFeat] Fixes saving screenshots to Photos with .limited authorization

This commit is contained in:
Riley Testut 2023-06-16 16:44:24 -05:00
parent 69eff8fa28
commit 648e9b8393

View File

@ -16,10 +16,10 @@ extension PHPhotoLibrary
PHPhotoLibrary.requestAuthorization(for: .addOnly, handler: { success in PHPhotoLibrary.requestAuthorization(for: .addOnly, handler: { success in
switch success switch success
{ {
case .authorized: case .authorized, .limited:
code() code()
case .denied, .restricted, .notDetermined, .limited: case .denied, .restricted, .notDetermined:
break break
} }
}) })