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
1 changed files with 1 additions and 3 deletions

View File

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