diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 0f3ccd111..dceae2d4b 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -330,14 +330,11 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle /// #if MOBILE if (searchElement.getAttribute("virtualkeyboardpolicy") !== "manual") { searchElement.setAttribute("virtualkeyboardpolicy", "manual"); - setTimeout(() => { - searchElement.focus(); - window.JSAndroid?.showKeyboard(); - }, Constants.TIMEOUT_TRANSITION); - } else { + } + setTimeout(() => { searchElement.focus(); window.JSAndroid?.showKeyboard(); - } + }, Constants.TIMEOUT_TRANSITION); /// #else searchElement.focus(); /// #endif