mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-04-16 11:17:18 +02:00
lets obtain the file name with the built in way
This commit is contained in:
parent
324896037b
commit
c13bedbfa8
@ -199,7 +199,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||||||
if (files != null) {
|
if (files != null) {
|
||||||
for (file in files) {
|
for (file in files) {
|
||||||
val curPath = file.absolutePath
|
val curPath = file.absolutePath
|
||||||
val curName = curPath.getFilenameFromPath()
|
val curName = file.name
|
||||||
if (!showHidden && curName.startsWith(".")) {
|
if (!showHidden && curName.startsWith(".")) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user