mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 12:38:00 +01:00
lets allow closing the All files prompt by clicking outside
This commit is contained in:
parent
af336e1cd1
commit
00a7427443
2 changed files with 4 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -10,3 +10,6 @@ keystore.jks
|
|||
keystore.properties
|
||||
/app/src/proprietary/assets/pesdk_license
|
||||
/app/src/proprietary/assets/vesdk_license
|
||||
fastlane/fastlane.json
|
||||
Gemfile
|
||||
Gemfile.lock
|
||||
|
|
|
@ -134,7 +134,7 @@ fun BaseSimpleActivity.handleMediaManagementPrompt(callback: () -> Unit) {
|
|||
if (Environment.isExternalStorageManager()) {
|
||||
callback()
|
||||
} else {
|
||||
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0, false) { success ->
|
||||
ConfirmationAdvancedDialog(this, "", R.string.access_storage_prompt, R.string.ok, 0, true) { success ->
|
||||
if (success) {
|
||||
try {
|
||||
val intent = Intent(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION)
|
||||
|
|
Loading…
Reference in a new issue