mirror of
https://github.com/FossifyOrg/Keyboard.git
synced 2026-09-08 11:22:10 -04:00
Remove unnecessary null check in MyKeyboardView
This commit is contained in:
1 parent
3d96687c60
commit
f36216651f
1 file changed
+1
-3
@@ -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()
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user