From 665b401aee159c2de8b820d3622ee41bd85d2506 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 26 Sep 2020 21:33:58 +0200 Subject: [PATCH] fix #415, properly handle placeholder visibility at closing Search --- app/build.gradle | 2 +- .../filemanager/pro/fragments/ItemsFragment.kt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index bbb5db0f..54ccd030 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -58,7 +58,7 @@ android { } dependencies { - implementation 'com.simplemobiletools:commons:5.30.5' + implementation 'com.simplemobiletools:commons:5.30.14' implementation 'com.github.Stericson:RootTools:df729dcb13' implementation 'com.github.Stericson:RootShell:1.6' implementation 'com.alexvasilkov:gesture-views:2.5.2' diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt index a54d2976..2ddca22f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/fragments/ItemsFragment.kt @@ -413,6 +413,12 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb } skipItemUpdating = false lastSearchedText = "" + + mView.apply { + items_list.beVisible() + items_placeholder.beGone() + items_placeholder_2.beGone() + } } private fun createNewItem() {