From 1fab0c1760ba0bd20139a77ae91a22fdb43de0b7 Mon Sep 17 00:00:00 2001 From: yuoohama Date: Mon, 31 Jul 2023 01:03:10 +0900 Subject: [PATCH] Update GalPlugin.java --- android/src/main/java/studio/midoridesign/gal/GalPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/studio/midoridesign/gal/GalPlugin.java b/android/src/main/java/studio/midoridesign/gal/GalPlugin.java index 11be2d9c..0fee8197 100644 --- a/android/src/main/java/studio/midoridesign/gal/GalPlugin.java +++ b/android/src/main/java/studio/midoridesign/gal/GalPlugin.java @@ -97,7 +97,7 @@ public void onMethodCall(@NonNull MethodCall call, @NonNull Result result) { break; } case "requestAccess": { - if (HAS_ACCESS_BY_DEFAULT) { + if (hasAccess()) { result.success(true); return; }