Skip to content

Commit

Permalink
Don't change input view when configuration changes
Browse files Browse the repository at this point in the history
This doesn't seem necessary and won't play well with eventual keys that
change the configuration.
  • Loading branch information
Julow committed Jun 16, 2024
1 parent a7b7902 commit c01b289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srcs/juloo.keyboard2/Keyboard2.java
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ private void refresh_config()
{
_keyboardView = (Keyboard2View)inflate_view(R.layout.keyboard);
_emojiPane = null;
setInputView(_keyboardView);
}
_keyboardView.reset();
}
Expand Down Expand Up @@ -345,7 +346,6 @@ public void onFinishInputView(boolean finishingInput)
public void onSharedPreferenceChanged(SharedPreferences _prefs, String _key)
{
refresh_config();
setInputView(_keyboardView);
_keyboardView.setKeyboard(current_layout());
}

Expand Down

0 comments on commit c01b289

Please sign in to comment.