mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-11 00:49:33 +00:00
upgrade build.gradle and do some code inspection stuff
This commit is contained in:
parent
f825436449
commit
528bbb4f7f
33 changed files with 192 additions and 256 deletions
|
@ -116,8 +116,7 @@ class MainKeyboardAccessibilityDelegate(
|
|||
*/
|
||||
private fun announceKeyboardType(keyboard: Keyboard, lastKeyboard: Keyboard) {
|
||||
val lastElementId = lastKeyboard.mId.mElementId
|
||||
val resId: Int
|
||||
resId = when (keyboard.mId.mElementId) {
|
||||
val resId = when (keyboard.mId.mElementId) {
|
||||
KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED, KeyboardId.ELEMENT_ALPHABET -> {
|
||||
if (lastElementId == KeyboardId.ELEMENT_ALPHABET
|
||||
|| lastElementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue