close clipboard manager if keyboard visibility changes
This commit is contained in:
parent
f4112aa797
commit
34388b634f
|
@ -260,6 +260,8 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
|
|||
|
||||
override fun onVisibilityChanged(changedView: View, visibility: Int) {
|
||||
super.onVisibilityChanged(changedView, visibility)
|
||||
closeClipboardManager()
|
||||
|
||||
if (visibility == VISIBLE) {
|
||||
mTextColor = context.config.textColor
|
||||
mBackgroundColor = context.config.backgroundColor
|
||||
|
|
Loading…
Reference in New Issue