Skip to content

Commit

Permalink
fix addition of emojis to history
Browse files Browse the repository at this point in the history
  • Loading branch information
Helium314 committed Dec 11, 2023
1 parent ca73709 commit 6e6bbbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit 6e6bbbd

Please sign in to comment.