mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-31 19:54:48 +01:00
show a nicer error message at copying to an invalid folder
This commit is contained in:
parent
09bea7d508
commit
893690d569
@ -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…
x
Reference in New Issue
Block a user