Skip to content

Commit 2b075c8

Browse files
committed
Refactoring
1 parent 19dc038 commit 2b075c8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/keyboard/services/SimpleKeyboardIME.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
8585
}
8686
}
8787

88-
// in other cases reset shift to OFF
8988
keyboard?.setShifted(ShiftState.OFF)
9089
keyboardView?.invalidateAllKeys()
9190
}
@@ -108,7 +107,6 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL
108107
inputConnection.sendKeyEvent(KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DEL))
109108
inputConnection.sendKeyEvent(KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DEL))
110109
} else {
111-
112110
inputConnection.commitText("", 1)
113111
}
114112
}

0 commit comments

Comments
 (0)