Skip to content

Commit 6e6bbbd

Browse files
committed
fix addition of emojis to history
1 parent ca73709 commit 6e6bbbd

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic

1 file changed

+1
-1
lines changed

app/src/main/java/org/dslul/openboard/inputmethod/latin/inputlogic/InputLogic.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ private void addToHistoryIfEmoji(final String text, final SettingsValues setting
876876
|| mWordComposer.isComposingWord() // emoji will be part of the word in this case, better do nothing
877877
|| !settingsValues.mBigramPredictionEnabled // this is only for next word suggestions, so they need to be enabled
878878
|| settingsValues.mIncognitoModeEnabled
879-
|| settingsValues.mInputAttributes.mShouldShowSuggestions // see comment in performAdditionToUserHistoryDictionary
879+
|| !settingsValues.mInputAttributes.mShouldShowSuggestions // see comment in performAdditionToUserHistoryDictionary
880880
|| !StringUtilsKt.isEmoji(text)
881881
) return;
882882
if (mConnection.hasSlowInputConnection()) {

0 commit comments

Comments
 (0)