diff --git a/app/src/main/java/net/gsantner/markor/activity/DocumentEditAndViewFragment.java b/app/src/main/java/net/gsantner/markor/activity/DocumentEditAndViewFragment.java index 4883505b98..e6810f6ef0 100644 --- a/app/src/main/java/net/gsantner/markor/activity/DocumentEditAndViewFragment.java +++ b/app/src/main/java/net/gsantner/markor/activity/DocumentEditAndViewFragment.java @@ -234,7 +234,7 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { _cu.showSoftKeyboard(getActivity(), defocusImeState, _hlEditor); defocusImeState = null; } else { - defocusImeState = GsContextUtils.isImeOpen(_hlEditor); + defocusImeState = TextViewUtils.isImeOpen(_hlEditor); } }); }