Skip to content

Commit

Permalink
PM-14934: Allow accessibility autofill to fill just a username or jus…
Browse files Browse the repository at this point in the history
…t a password (#4312)
  • Loading branch information
david-livefront authored Nov 15, 2024
1 parent 0891365 commit cad2df7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ data class FillableFields(
val usernameField: AccessibilityNodeInfo?,
val passwordFields: List<AccessibilityNodeInfo>,
) {
val hasFields: Boolean = usernameField != null && passwordFields.isNotEmpty()
val hasFields: Boolean = usernameField != null || passwordFields.isNotEmpty()
}

0 comments on commit cad2df7

Please sign in to comment.