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 { 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()