mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-22 20:48:00 +01:00
show a nicer error message at copying to an invalid folder
This commit is contained in:
parent
09bea7d508
commit
893690d569
1 changed files with 1 additions and 1 deletions
|
@ -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 ->
|
||||
|
|
Loading…
Reference in a new issue