mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 12:07:28 +00:00
Supress warning ModifierComposed for autofill, there is a low risk of performance issue here.
This commit is contained in:
committed by
Benoit Marty
parent
000bcb448c
commit
07ca064ac4
+1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user