Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mozilla-lockwise/lockwise-android
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9d989132ca49208fd9289de08313d657b08f24ba
Choose a base ref
..
head repository: mozilla-lockwise/lockwise-android
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: aa0074b544057b3809564f5a0c058648377357c7
Choose a head ref
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/src/main/java/mozilla/lockbox/autofill/ViewNodeNavigator.kt
Original file line number Diff line number Diff line change
@@ -116,8 +116,9 @@ class ViewNodeNavigator(
node.htmlInfo?.attributes?.find { name == it.first }?.second

override fun isButton(node: ViewNode): Boolean {
val className = node.className ?: ""
when {
node.className.contains("Button") -> return true
className.contains("Button") -> return true
htmlTagName(node) == "button" -> return true
htmlTagName(node) != "input" -> return false
}