mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: last form field recognition #1572
This commit is contained in:
@@ -432,58 +432,22 @@ class StructureParser(private val structure: AssistStructure) {
|
|||||||
var creditCardExpirationDayOptions: Array<CharSequence>? = null
|
var creditCardExpirationDayOptions: Array<CharSequence>? = null
|
||||||
|
|
||||||
var usernameId: AutofillId? = null
|
var usernameId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var passwordId: AutofillId? = null
|
var passwordId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardHolderId: AutofillId? = null
|
var creditCardHolderId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardNumberId: AutofillId? = null
|
var creditCardNumberId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardExpirationDateId: AutofillId? = null
|
var creditCardExpirationDateId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardExpirationYearId: AutofillId? = null
|
var creditCardExpirationYearId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardExpirationMonthId: AutofillId? = null
|
var creditCardExpirationMonthId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var creditCardExpirationDayId: AutofillId? = null
|
var creditCardExpirationDayId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
var cardVerificationValueId: AutofillId? = null
|
var cardVerificationValueId: AutofillId? = null
|
||||||
set(value) {
|
|
||||||
if (field == null)
|
|
||||||
field = value
|
|
||||||
}
|
|
||||||
|
|
||||||
fun allAutofillIds(): Array<AutofillId> {
|
fun allAutofillIds(): Array<AutofillId> {
|
||||||
val all = ArrayList<AutofillId>()
|
val all = ArrayList<AutofillId>()
|
||||||
@@ -510,13 +474,13 @@ class StructureParser(private val structure: AssistStructure) {
|
|||||||
|
|
||||||
var usernameValue: AutofillValue? = null
|
var usernameValue: AutofillValue? = null
|
||||||
set(value) {
|
set(value) {
|
||||||
if (allowSaveValues && field == null)
|
if (allowSaveValues)
|
||||||
field = value
|
field = value
|
||||||
}
|
}
|
||||||
|
|
||||||
var passwordValue: AutofillValue? = null
|
var passwordValue: AutofillValue? = null
|
||||||
set(value) {
|
set(value) {
|
||||||
if (allowSaveValues && field == null)
|
if (allowSaveValues)
|
||||||
field = value
|
field = value
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user