diff options
Diffstat (limited to 'autofill-parser/src/main/java')
-rw-r--r-- | autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillScenario.kt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillScenario.kt b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillScenario.kt index 08eab3ff..9d620fe6 100644 --- a/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillScenario.kt +++ b/autofill-parser/src/main/java/com/github/androidpasswordstore/autofillparser/AutofillScenario.kt @@ -178,6 +178,9 @@ public sealed class AutofillScenario<out T : Any> { public val hasFieldsToSave: Boolean get() = fieldsToSave.isNotEmpty() + @Suppress( + "ConvertArgumentToSet" + ) // This is a single item List, Set conversion only adds overhead. public val hasPasswordFieldsToSave: Boolean get() = fieldsToSave.minus(listOfNotNull(username)).isNotEmpty() |