mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-03-04 06:29:28 -05:00
lets obtain the file name with the built in way
This commit is contained in:
@@ -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