Skip to content

Commit

Permalink
refactor: don't need else if here
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgerardojacinto committed Oct 24, 2024
1 parent efc20e8 commit 4f5f5dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private boolean checkCameraPermissions(PluginCall call) {
}

// we need to request permissions to save to gallery for Android <= 9
else if (settings.isSaveToGallery() && !(hasCameraPerms && hasGalleryPerms) && isFirstRequest) {
if (settings.isSaveToGallery() && !(hasCameraPerms && hasGalleryPerms) && isFirstRequest) {
isFirstRequest = false;
String[] aliases;
if (needCameraPerms) {
Expand Down

0 comments on commit 4f5f5dd

Please sign in to comment.