From 80ca58d2a203b22b8f097ea762ecc889ce3390b2 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 6 Aug 2018 12:05:43 +0000 Subject: [PATCH] Fixed action bar blinking --- app/src/main/java/eu/faircode/email/FragmentEx.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentEx.java b/app/src/main/java/eu/faircode/email/FragmentEx.java index da168abd..315c6635 100644 --- a/app/src/main/java/eu/faircode/email/FragmentEx.java +++ b/app/src/main/java/eu/faircode/email/FragmentEx.java @@ -7,7 +7,7 @@ import android.view.View; import android.view.inputmethod.InputMethodManager; public class FragmentEx extends Fragment { - private String subtitle = ""; + private String subtitle = " "; protected void setSubtitle(int resid) { setSubtitle(getString(resid)); @@ -29,9 +29,9 @@ public class FragmentEx extends Fragment { super.onDetach(); InputMethodManager im = getContext().getSystemService(InputMethodManager.class); - View focussed = getActivity().getCurrentFocus(); - if (focussed != null) - im.hideSoftInputFromWindow(focussed.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); + View focused = getActivity().getCurrentFocus(); + if (focused != null) + im.hideSoftInputFromWindow(focused.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS); } private void updateSubtitle() {