From 893690d5694ddb0d21c145cc0e21deaa80bc65d1 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 20 Apr 2022 11:42:43 +0200 Subject: [PATCH] show a nicer error message at copying to an invalid folder --- .../gallery/pro/dialogs/PickDirectoryDialog.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt index 84ebcb37e..326fcb4d7 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt @@ -117,7 +117,7 @@ class PickDirectoryDialog( activity.toast(R.string.source_and_destination_same) return@DirectoryAdapter } else if (isPickingCopyMoveDestination && activity.isRestrictedWithSAFSdk30(path) && !activity.isInDownloadDir(path)) { - activity.toast(R.string.system_folder_restriction, Toast.LENGTH_LONG) + activity.toast(R.string.system_folder_copy_restriction, Toast.LENGTH_LONG) return@DirectoryAdapter } else { activity.handleLockedFolderOpening(path) { success ->