From 5ed8b18e0429e25e399a7033b405956aec81318e Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Sat, 23 Jul 2022 20:29:45 +0200 Subject: [PATCH] minor style update --- .../filemanager/pro/fragments/RecentsFragment.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/RecentsFragment.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/RecentsFragment.kt index feefab07..ce225aa1 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/RecentsFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/RecentsFragment.kt @@ -142,8 +142,9 @@ class RecentsFragment(context: Context, attributeSet: AttributeSet) : MyViewPage if (cursor.moveToFirst()) { do { val path = cursor.getStringValue(FileColumns.DATA) - - if (File(path).isDirectory) continue + if (File(path).isDirectory) { + continue + } val name = cursor.getStringValue(FileColumns.DISPLAY_NAME) ?: path.getFilenameFromPath() val size = cursor.getLongValue(FileColumns.SIZE)