Simplified

- getting miniKeyboardContainer from mMiniKeyboardCache[popupKey]
- getting miniKeyboardView using view binding
- comment removed
This commit is contained in:
Dmitriy Chernysh 2023-10-09 23:51:31 +03:00
parent 59de752615
commit a08a63e468
1 changed files with 0 additions and 2 deletions

View File

@ -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)