mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-11-07 05:23:05 -05:00
lets obtain the file name with the built in way
This commit is contained in:
1 parent
324896037b
commit
c13bedbfa8
1 file changed
+1
-1
@@ -199,7 +199,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
if (files != null) {
|
||||
for (file in files) {
|
||||
val curPath = file.absolutePath
|
||||
val curName = curPath.getFilenameFromPath()
|
||||
val curName = file.name
|
||||
if (!showHidden && curName.startsWith(".")) {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user