hide keyboard on switching to "Other folder"

This commit is contained in:
fatih ergin 2023-06-21 19:56:59 +03:00
parent d7b29aa3f0
commit 343962bfca

View file

@ -168,6 +168,7 @@ class PickDirectoryDialog(
} }
private fun showOtherFolder() { private fun showOtherFolder() {
activity.hideKeyboard(searchEditText)
FilePickerDialog(activity, sourcePath, !isPickingCopyMoveDestination && !isPickingFolderForWidget, showHidden, true, true) { FilePickerDialog(activity, sourcePath, !isPickingCopyMoveDestination && !isPickingFolderForWidget, showHidden, true, true) {
activity.handleLockedFolderOpening(it) { success -> activity.handleLockedFolderOpening(it) { success ->
if (success) { if (success) {