From 343962bfcaaff4ef692cd0f2c9841c8ad5c8c735 Mon Sep 17 00:00:00 2001 From: fatih ergin Date: Wed, 21 Jun 2023 19:56:59 +0300 Subject: [PATCH] hide keyboard on switching to "Other folder" --- .../simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt index 2a069b75a..52b387df4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/dialogs/PickDirectoryDialog.kt @@ -168,6 +168,7 @@ class PickDirectoryDialog( } private fun showOtherFolder() { + activity.hideKeyboard(searchEditText) FilePickerDialog(activity, sourcePath, !isPickingCopyMoveDestination && !isPickingFolderForWidget, showHidden, true, true) { activity.handleLockedFolderOpening(it) { success -> if (success) {