mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 22:34:02 +01:00
make dialog modal (#6015)
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
This commit is contained in:
parent
c175a4ee03
commit
9a876fa5e2
27 changed files with 53 additions and 62 deletions
|
|
@ -170,8 +170,8 @@ public class ContributionController {
|
|||
},
|
||||
() -> locationPermissionCallback.onLocationPermissionDenied(
|
||||
activity.getString(R.string.in_app_camera_location_permission_denied)),
|
||||
null,
|
||||
false);
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -203,8 +203,8 @@ public class ContributionController {
|
|||
defaultKvStore.putBoolean("inAppCameraLocationPref", false);
|
||||
initiateCameraUpload(activity, resultLauncher);
|
||||
},
|
||||
null,
|
||||
true);
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -566,8 +566,8 @@ public class ContributionsFragment
|
|||
getString(R.string.nearby_card_permission_explanation),
|
||||
this::requestLocationPermission,
|
||||
this::displayYouWontSeeNearbyMessage,
|
||||
checkBoxView,
|
||||
false);
|
||||
checkBoxView
|
||||
);
|
||||
}
|
||||
|
||||
private void displayYouWontSeeNearbyMessage() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue