From f9567149793821f4e157f2fb5e9aafe3935b3bef Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 4 May 2019 22:22:20 +0200 Subject: [PATCH] fix #1386, show subfolder count only if more than one --- .../simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt index cc8b1b52a..8b56cea6b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/adapters/DirectoryAdapter.kt @@ -483,7 +483,7 @@ class DirectoryAdapter(activity: BaseSimpleActivity, var dirs: ArrayList 1) "${directory.name} (${directory.subfoldersCount})" else directory.name dir_path?.text = "${directory.path.substringBeforeLast("/")}/" photo_cnt.text = directory.subfoldersMediaCount.toString() val thumbnailType = when {