Skip to content

Commit ec61ce7

Browse files
committed
Add 'SWITCH_TO_' prefix for switch keys valueText
1 parent 2581d68 commit ec61ce7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/src/main/java/io/github/yawnoc/strokeinput/StrokeInputService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ public void onKey(final String valueText) {
6767
}
6868
break;
6969

70-
case "STROKES":
70+
case "SWITCH_TO_STROKES":
7171
inputContainer.setKeyboard(strokesKeyboard);
7272
break;
7373

74-
case "SYMBOLS":
74+
case "SWITCH_TO_SYMBOLS":
7575
inputContainer.setKeyboard(symbolsKeyboard);
7676
break;
7777

app/src/main/res/xml/keyboard_strokes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
>
108108
<!-- Switch to symbols keyboard: U+FF08, U+FF09, U+FF1A -->
109109
<Key
110-
app:valueText="SYMBOLS"
110+
app:valueText="SWITCH_TO_SYMBOLS"
111111
app:displayText="():"
112112
app:keyTextSize="@dimen/key_text_font_size_switch_to_symbols"
113113
/>

app/src/main/res/xml/keyboard_symbols.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
>
7575
<!-- Switch to strokes keyboard: U+31D0, U+31D1, U+31D2 -->
7676
<Key
77-
app:valueText="STROKES"
77+
app:valueText="SWITCH_TO_STROKES"
7878
app:displayText="㇐㇑㇒"
7979
app:keyTextColour="@color/stroke_key_text"
8080
app:keyTextSize="@dimen/key_text_font_size_switch_to_strokes"

0 commit comments

Comments
 (0)