From cad2df79b6a9cd5273f74404ba4fef8d77487098 Mon Sep 17 00:00:00 2001 From: David Perez Date: Fri, 15 Nov 2024 14:15:02 -0600 Subject: [PATCH] PM-14934: Allow accessibility autofill to fill just a username or just a password (#4312) --- .../data/autofill/accessibility/model/FillableFields.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/model/FillableFields.kt b/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/model/FillableFields.kt index 70d4827a72f..57ac210671b 100644 --- a/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/model/FillableFields.kt +++ b/app/src/main/java/com/x8bit/bitwarden/data/autofill/accessibility/model/FillableFields.kt @@ -9,5 +9,5 @@ data class FillableFields( val usernameField: AccessibilityNodeInfo?, val passwordFields: List, ) { - val hasFields: Boolean = usernameField != null && passwordFields.isNotEmpty() + val hasFields: Boolean = usernameField != null || passwordFields.isNotEmpty() }