mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-01-03 04:59:57 +01:00
Simplified
- getting miniKeyboardContainer from mMiniKeyboardCache[popupKey] - getting miniKeyboardView using view binding - comment removed
This commit is contained in:
parent
59de752615
commit
a08a63e468
@ -1025,9 +1025,7 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
||||
)
|
||||
mMiniKeyboardCache[popupKey] = mMiniKeyboardContainer
|
||||
} else {
|
||||
//Using 'miniKeyboardView' from cache
|
||||
mMiniKeyboard = mMiniKeyboardCache[popupKey]?.let(KeyboardPopupKeyboardBinding::bind)?.miniKeyboardView
|
||||
?: keyboardPopupBinding!!.miniKeyboardView
|
||||
}
|
||||
|
||||
getLocationInWindow(mCoordinates)
|
||||
|
Loading…
Reference in New Issue
Block a user