mirror of
https://github.com/SimpleMobileTools/Simple-Keyboard.git
synced 2025-02-18 12:50:36 +01:00
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) {
|
override fun onVisibilityChanged(changedView: View, visibility: Int) {
|
||||||
super.onVisibilityChanged(changedView, visibility)
|
super.onVisibilityChanged(changedView, visibility)
|
||||||
|
closeClipboardManager()
|
||||||
|
|
||||||
if (visibility == VISIBLE) {
|
if (visibility == VISIBLE) {
|
||||||
mTextColor = context.config.textColor
|
mTextColor = context.config.textColor
|
||||||
mBackgroundColor = context.config.backgroundColor
|
mBackgroundColor = context.config.backgroundColor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user