use label not key
This commit is contained in:
parent
3fdb18ec85
commit
0c30536076
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ public class PassFieldList extends ArrayList<PassField> {
|
|||
public Optional<PassField> getPassFieldThatMatchesLabel(String matcher) {
|
||||
|
||||
for (PassField field : this) {
|
||||
if (field.label != null && field.key.matches(matcher)) {
|
||||
if (field.label != null && field.label.matches(matcher)) {
|
||||
return Optional.of(field);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue