1
0
Fork 0

it is now possible to disable completely the special character list on 0-key

This commit is contained in:
sspanak 2025-05-09 12:41:39 +03:00 committed by Dimo Karaivanov
parent 2463e9283c
commit eaa8444ca8
2 changed files with 6 additions and 6 deletions

View file

@ -211,8 +211,12 @@ abstract public class InputMode {
protected ArrayList<String> getAbbreviatedSpecialChars() {
ArrayList<String> special = Characters.getWhitespaces(language);
special.add(SuggestionsBar.SHOW_CURRENCIES_SUGGESTION);
special.add(SuggestionsBar.SHOW_SPECIAL_CHARS_SUGGESTION);
if (!Characters.getCurrencies(language).isEmpty()) {
special.add(SuggestionsBar.SHOW_CURRENCIES_SUGGESTION);
}
if (!settings.getSpecialChars(language).isEmpty()) {
special.add(SuggestionsBar.SHOW_SPECIAL_CHARS_SUGGESTION);
}
return special;
}

View file

@ -87,10 +87,6 @@ class SettingsPunctuation extends SettingsInput {
orderedChars = getPunctuationAsList(language);
}
if (orderedChars.isEmpty()) {
orderedChars = language.getKeyCharacters(number);
}
return orderedChars;
}