diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt index 34d53fee5..b784dc0f2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/MediaAdapter.kt @@ -244,7 +244,7 @@ class MediaAdapter( val firstPath = getFirstSelectedItemPath() ?: return val isSDOrOtgRootFolder = activity.isAStorageRootFolder(firstPath.getParentPath()) && !firstPath.startsWith(activity.internalStoragePath) - if (isRPlus() && isSDOrOtgRootFolder) { + if (isRPlus() && isSDOrOtgRootFolder && !isExternalStorageManager()) { activity.toast(R.string.rename_in_sd_card_system_restriction, Toast.LENGTH_LONG) finishActMode() return