diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/StorageFragment.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/StorageFragment.kt index fc4997f4..327ac5df 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/StorageFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/StorageFragment.kt @@ -324,7 +324,7 @@ class StorageFragment(context: Context, attributeSet: AttributeSet) : MyViewPage private fun scanVolume(volumeName: String, root: File) { val paths = mutableListOf() if (context.isPathOnSD(root.path)) { - File(context.config.sdCardPath).walkBottomUp().forEach { + File(context.sdCardPath).walkBottomUp().forEach { paths.add(it.path) } }