mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Simplification & UI improvement (A59)"
This commit is contained in:
commit
9d95a107a5
@ -1863,12 +1863,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
|||||||
Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE,
|
Utils.Stats.onSeparator((char)Keyboard.CODE_SPACE, WordComposer.NOT_A_COORDINATE,
|
||||||
WordComposer.NOT_A_COORDINATE);
|
WordComposer.NOT_A_COORDINATE);
|
||||||
if (!showingAddToDictionaryHint) {
|
if (!showingAddToDictionaryHint) {
|
||||||
// If we're not showing the "Touch again to save", then show corrections again.
|
// If we're not showing the "Touch again to save", then show predictions.
|
||||||
// In case the cursor position doesn't change, make sure we show the suggestions again.
|
mHandler.postUpdateBigramPredictions();
|
||||||
updateSuggestionsOrPredictions(true /* isPredictions */);
|
|
||||||
// Updating the predictions right away may be slow and feel unresponsive on slower
|
|
||||||
// terminals. On the other hand if we just postUpdateBigramPredictions() it will
|
|
||||||
// take a noticeable delay to update them which may feel uneasy.
|
|
||||||
} else {
|
} else {
|
||||||
if (mIsUserDictionaryAvailable) {
|
if (mIsUserDictionaryAvailable) {
|
||||||
mSuggestionsView.showAddToDictionaryHint(
|
mSuggestionsView.showAddToDictionaryHint(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user