mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix populate OTP
This commit is contained in:
@@ -622,6 +622,7 @@ class EntryEditActivity : LockingActivity(),
|
|||||||
// Update the otp field with otpauth:// url
|
// Update the otp field with otpauth:// url
|
||||||
val otpField = OtpEntryFields.buildOtpField(otpElement,
|
val otpField = OtpEntryFields.buildOtpField(otpElement,
|
||||||
mEntry?.title, mEntry?.username)
|
mEntry?.title, mEntry?.username)
|
||||||
|
mEntry?.putExtraField(otpField.name, otpField.protectedValue)
|
||||||
entryEditContentsView?.apply {
|
entryEditContentsView?.apply {
|
||||||
putExtraField(otpField)
|
putExtraField(otpField)
|
||||||
getExtraFieldViewPosition(otpField) { position ->
|
getExtraFieldViewPosition(otpField) { position ->
|
||||||
|
|||||||
Reference in New Issue
Block a user