Browse Source

Fixed action bar blinking

main
M66B 6 years ago
parent
commit
80ca58d2a2
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      app/src/main/java/eu/faircode/email/FragmentEx.java

+ 4
- 4
app/src/main/java/eu/faircode/email/FragmentEx.java View File

@ -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() {


Loading…
Cancel
Save