Skip to content

Commit db4088d

Browse files
authored
Changing default space next tap action to comma. #18 (#20)
1 parent 0d67a02 commit db4088d

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/src/main/java/com/dessalines/thumbkey/keyboards/MessageEase.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ val messageEaseKeyboard = KeyboardC(
263263
action = KeyAction.CommitText(" ")
264264
),
265265
nextTapActions = arrayOf(
266-
KeyAction.ReplaceLastText(". ", trimCount = 1),
267-
KeyAction.ReplaceLastText(", "),
266+
KeyAction.ReplaceLastText(", ", trimCount = 1),
267+
KeyAction.ReplaceLastText(". "),
268268
KeyAction.ReplaceLastText("? "),
269269
KeyAction.ReplaceLastText("! "),
270270
KeyAction.ReplaceLastText(": ")
@@ -530,8 +530,8 @@ val messageEaseKeyboardShifted = KeyboardC(
530530
action = KeyAction.CommitText(" ")
531531
),
532532
nextTapActions = arrayOf(
533-
KeyAction.ReplaceLastText(". ", trimCount = 1),
534-
KeyAction.ReplaceLastText(", "),
533+
KeyAction.ReplaceLastText(", ", trimCount = 1),
534+
KeyAction.ReplaceLastText(". "),
535535
KeyAction.ReplaceLastText("? "),
536536
KeyAction.ReplaceLastText("! "),
537537
KeyAction.ReplaceLastText(": ")

app/src/main/java/com/dessalines/thumbkey/keyboards/ThumbKeyV4.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ val thumbkeyV4Keyboard = KeyboardC(
263263
action = KeyAction.CommitText(" ")
264264
),
265265
nextTapActions = arrayOf(
266-
KeyAction.ReplaceLastText(". ", trimCount = 1),
267-
KeyAction.ReplaceLastText(", "),
266+
KeyAction.ReplaceLastText(", ", trimCount = 1),
267+
KeyAction.ReplaceLastText(". "),
268268
KeyAction.ReplaceLastText("? "),
269269
KeyAction.ReplaceLastText("! "),
270270
KeyAction.ReplaceLastText(": ")
@@ -530,8 +530,8 @@ val thumbkeyV4KeyboardShifted = KeyboardC(
530530
action = KeyAction.CommitText(" ")
531531
),
532532
nextTapActions = arrayOf(
533-
KeyAction.ReplaceLastText(". ", trimCount = 1),
534-
KeyAction.ReplaceLastText(", "),
533+
KeyAction.ReplaceLastText(", ", trimCount = 1),
534+
KeyAction.ReplaceLastText(". "),
535535
KeyAction.ReplaceLastText("? "),
536536
KeyAction.ReplaceLastText("! "),
537537
KeyAction.ReplaceLastText(": ")

0 commit comments

Comments
 (0)