mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-21 15:05:19 +00:00
Corrected text on storage permission dialog
This commit is contained in:
parent
f6b6256598
commit
f7748a0c05
@ -263,8 +263,8 @@ public class AttachmentManager {
|
|||||||
.put(APP_NAME_KEY, c.getString(R.string.app_name))
|
.put(APP_NAME_KEY, c.getString(R.string.app_name))
|
||||||
.format().toString();
|
.format().toString();
|
||||||
|
|
||||||
builder.withPermanentDenialDialog(needStoragePermissionTxt)
|
builder.withPermanentDenialDialog(storagePermissionDeniedTxt)
|
||||||
.withRationaleDialog(storagePermissionDeniedTxt, R.drawable.ic_baseline_photo_library_24)
|
.withRationaleDialog(needStoragePermissionTxt, R.drawable.ic_baseline_photo_library_24)
|
||||||
.onAllGranted(() -> selectMediaType(activity, "*/*", null, requestCode)) // Note: We can use startActivityForResult w/ the ACTION_OPEN_DOCUMENT or ACTION_OPEN_DOCUMENT_TREE intent if we need to modernise this.
|
.onAllGranted(() -> selectMediaType(activity, "*/*", null, requestCode)) // Note: We can use startActivityForResult w/ the ACTION_OPEN_DOCUMENT or ACTION_OPEN_DOCUMENT_TREE intent if we need to modernise this.
|
||||||
.execute();
|
.execute();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user