it is now possible to disable completely the special character list on 0-key
This commit is contained in:
parent
2463e9283c
commit
eaa8444ca8
2 changed files with 6 additions and 6 deletions
|
|
@ -211,8 +211,12 @@ abstract public class InputMode {
|
||||||
|
|
||||||
protected ArrayList<String> getAbbreviatedSpecialChars() {
|
protected ArrayList<String> getAbbreviatedSpecialChars() {
|
||||||
ArrayList<String> special = Characters.getWhitespaces(language);
|
ArrayList<String> special = Characters.getWhitespaces(language);
|
||||||
special.add(SuggestionsBar.SHOW_CURRENCIES_SUGGESTION);
|
if (!Characters.getCurrencies(language).isEmpty()) {
|
||||||
special.add(SuggestionsBar.SHOW_SPECIAL_CHARS_SUGGESTION);
|
special.add(SuggestionsBar.SHOW_CURRENCIES_SUGGESTION);
|
||||||
|
}
|
||||||
|
if (!settings.getSpecialChars(language).isEmpty()) {
|
||||||
|
special.add(SuggestionsBar.SHOW_SPECIAL_CHARS_SUGGESTION);
|
||||||
|
}
|
||||||
return special;
|
return special;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -87,10 +87,6 @@ class SettingsPunctuation extends SettingsInput {
|
||||||
orderedChars = getPunctuationAsList(language);
|
orderedChars = getPunctuationAsList(language);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (orderedChars.isEmpty()) {
|
|
||||||
orderedChars = language.getKeyCharacters(number);
|
|
||||||
}
|
|
||||||
|
|
||||||
return orderedChars;
|
return orderedChars;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue