From 2309693586d84d0505ed4c8997cb73206bb5698a Mon Sep 17 00:00:00 2001 From: Artem Chepurnoy Date: Wed, 6 Mar 2024 10:51:53 +0200 Subject: [PATCH] improvement: Consider fields labeled with ID/Customer as potential username fields #198 --- .../keyguard/android/autofill/AutofillStructureParser.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/androidMain/kotlin/com/artemchep/keyguard/android/autofill/AutofillStructureParser.kt b/common/src/androidMain/kotlin/com/artemchep/keyguard/android/autofill/AutofillStructureParser.kt index fd521c13..d0747ba1 100644 --- a/common/src/androidMain/kotlin/com/artemchep/keyguard/android/autofill/AutofillStructureParser.kt +++ b/common/src/androidMain/kotlin/com/artemchep/keyguard/android/autofill/AutofillStructureParser.kt @@ -100,6 +100,9 @@ class AutofillStructureParser { // https://github.com/AChep/keyguard-app/issues/15#issuecomment-1740598689 "用户名", "用戶名", + // https://github.com/AChep/keyguard-app/issues/198 + "id", + "customer", ) private val autofillLabelCreditCardNumberTranslations = listOf(