From ac71e20fef2ce6b9c0afd3491a68c14e2d1bcba7 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 29 Jun 2023 08:28:42 +0200 Subject: [PATCH] Explicitly hide keyboard / open link dialog --- .../java/eu/faircode/email/FragmentDialogOpenLink.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java b/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java index 104a593301..957f82a240 100644 --- a/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java +++ b/app/src/main/java/eu/faircode/email/FragmentDialogOpenLink.java @@ -746,6 +746,13 @@ public class FragmentDialogOpenLink extends FragmentDialogBase { } else grpOpenWith.setVisibility(View.GONE); + dview.post(new Runnable() { + @Override + public void run() { + Helper.hideKeyboard(etLink); + } + }); + Log.i("Open link dialog uri=" + uri); return new AlertDialog.Builder(context) .setView(dview)