lets obtain the file name with the built in way

This commit is contained in:
tibbi 2018-04-17 15:51:23 +02:00
parent 324896037b
commit c13bedbfa8

View file

@ -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
}