diff --git a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java index f2b22abc0..757698404 100644 --- a/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java +++ b/app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java @@ -876,7 +876,7 @@ private void addToHistoryIfEmoji(final String text, final SettingsValues setting || mWordComposer.isComposingWord() // emoji will be part of the word in this case, better do nothing || !settingsValues.mBigramPredictionEnabled // this is only for next word suggestions, so they need to be enabled || settingsValues.mIncognitoModeEnabled - || settingsValues.mInputAttributes.mShouldShowSuggestions // see comment in performAdditionToUserHistoryDictionary + || !settingsValues.mInputAttributes.mShouldShowSuggestions // see comment in performAdditionToUserHistoryDictionary || !StringUtilsKt.isEmoji(text) ) return; if (mConnection.hasSlowInputConnection()) {