Remove unnecessary null check in MyKeyboardView

This commit is contained in:
Ensar Sarajčić 2023-07-06 16:31:51 +02:00
parent 3d96687c60
commit f36216651f

View file

@ -1637,8 +1637,6 @@ class MyKeyboardView @JvmOverloads constructor(context: Context, attrs: Attribut
@RequiresApi(Build.VERSION_CODES.R)
fun clearClipboardViews() {
if (mToolbarHolder?.autofill_suggestions_holder != null) {
mToolbarHolder?.autofill_suggestions_holder?.removeAllViews()
}
mToolbarHolder?.autofill_suggestions_holder?.removeAllViews()
}
}