Skip to content

Commit

Permalink
added ',' to the 0-key double press shortcut list
Browse files Browse the repository at this point in the history
  • Loading branch information
sspanak committed Jun 1, 2023
1 parent 9b33937 commit 4405c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public ItemSelectZeroKeyCharacter(DropDownPreference dropDown, Context context)
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));
}
Expand Down

0 comments on commit 4405c0e

Please sign in to comment.