Supress warning ModifierComposed for autofill, there is a low risk of performance issue here.
This commit is contained in:
parent
000bcb448c
commit
07ca064ac4
2 changed files with 18 additions and 11 deletions
|
|
@ -213,6 +213,7 @@ private fun TextFieldValueContentToPreview() {
|
|||
}
|
||||
}
|
||||
|
||||
@Suppress("ModifierComposed")
|
||||
@OptIn(ExperimentalComposeUiApi::class)
|
||||
fun Modifier.autofill(autofillTypes: List<AutofillType>, onFill: (String) -> Unit) = composed {
|
||||
val autofillNode = AutofillNode(autofillTypes, onFill = onFill)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue