Skip to content

Commit

Permalink
Remove debugPrint
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze committed Sep 7, 2023
1 parent 3d33b4c commit 5f9e323
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions darwin/Classes/GalPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ public class GalPlugin: NSObject, FlutterPlugin {

private func hasAccess(toAlbum: Bool) -> Bool {
if #available(iOS 14, macOS 11, *) {
print(PHPhotoLibrary.authorizationStatus(for: .addOnly) == .authorized)
print(PHPhotoLibrary.authorizationStatus(for: .readWrite) == .authorized)
print(PHPhotoLibrary.authorizationStatus(for: .readWrite) == .limited)
return toAlbum
? PHPhotoLibrary.authorizationStatus(for: .readWrite) == .authorized
|| PHPhotoLibrary.authorizationStatus(for: .readWrite) == .limited
Expand Down

0 comments on commit 5f9e323

Please sign in to comment.