From f7748a0c05eb1272a7b281d6910691df2130c3b0 Mon Sep 17 00:00:00 2001 From: alansley Date: Tue, 20 Aug 2024 16:06:24 +1000 Subject: [PATCH] Corrected text on storage permission dialog --- .../conversation/v2/utilities/AttachmentManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/AttachmentManager.java b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/AttachmentManager.java index 58a2630863..d269f1dcfc 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/AttachmentManager.java +++ b/app/src/main/java/org/thoughtcrime/securesms/conversation/v2/utilities/AttachmentManager.java @@ -263,8 +263,8 @@ public class AttachmentManager { .put(APP_NAME_KEY, c.getString(R.string.app_name)) .format().toString(); - builder.withPermanentDenialDialog(needStoragePermissionTxt) - .withRationaleDialog(storagePermissionDeniedTxt, R.drawable.ic_baseline_photo_library_24) + builder.withPermanentDenialDialog(storagePermissionDeniedTxt) + .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. .execute(); }