mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-03 05:04:45 +00:00
fix addition of emojis to history
This commit is contained in:
parent
ca73709a7d
commit
6e6bbbd0da
1 changed files with 1 additions and 1 deletions
|
@ -876,7 +876,7 @@ public final class InputLogic {
|
|||
|| 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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue