mirror of
				https://github.com/SimpleMobileTools/Simple-Keyboard.git
				synced 2025-06-05 21:49:26 +02:00 
			
		
		
		
	do not update shift state automatically after pressing Shift
This commit is contained in:
		| @@ -42,5 +42,5 @@ android { | |||||||
| } | } | ||||||
|  |  | ||||||
| dependencies { | dependencies { | ||||||
|     implementation 'com.github.SimpleMobileTools:Simple-Commons:06b9306331' |     implementation 'com.github.SimpleMobileTools:Simple-Commons:db3561b188' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -151,7 +151,10 @@ class SimpleKeyboardIME : InputMethodService(), MyKeyboardView.OnKeyboardActionL | |||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         updateShiftKeyState() |  | ||||||
|  |         if (primaryCode != MyKeyboard.KEYCODE_SHIFT) { | ||||||
|  |             updateShiftKeyState() | ||||||
|  |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     override fun onText(text: CharSequence?) {} |     override fun onText(text: CharSequence?) {} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user