1
0
Fork 0

added ',' to the 0-key double press shortcut list

This commit is contained in:
sspanak 2023-06-01 10:45:15 +03:00 committed by Dimo Karaivanov
parent 9b33937220
commit 4405c0e34b
2 changed files with 2 additions and 0 deletions

View file

@ -76,6 +76,7 @@
<string name="key_volume_down">Volume Down</string>
<string name="key_volume_up">Volume Up</string>
<string name="char_comma" translatable="false">,</string>
<string name="char_dot" translatable="false">.</string>
<string name="char_newline">New Line</string>
<string name="char_space">Space</string>

View file

@ -22,6 +22,7 @@ public class ItemSelectZeroKeyCharacter {
Resources resources = context.getResources();
KEYS.put(".", resources.getString(R.string.char_dot));
KEYS.put(",", resources.getString(R.string.char_comma));
KEYS.put("\\n", resources.getString(R.string.char_newline)); // SharedPreferences return a corrupted string when using the real "\n"... :(
KEYS.put(" ", resources.getString(R.string.char_space));
}