Skip to content

Commit c13bedb

Browse files
committed
lets obtain the file name with the built in way
1 parent 3248960 commit c13bedb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/fragments/ItemsFragment.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
199199
if (files != null) {
200200
for (file in files) {
201201
val curPath = file.absolutePath
202-
val curName = curPath.getFilenameFromPath()
202+
val curName = file.name
203203
if (!showHidden && curName.startsWith(".")) {
204204
continue
205205
}

0 commit comments

Comments
 (0)