mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix expiry time
This commit is contained in:
@@ -426,6 +426,8 @@ class Entry : Node, EntryVersionedInterface<Group> {
|
|||||||
entryInfo.icon = icon
|
entryInfo.icon = icon
|
||||||
entryInfo.username = username
|
entryInfo.username = username
|
||||||
entryInfo.password = password
|
entryInfo.password = password
|
||||||
|
entryInfo.expires = expires
|
||||||
|
entryInfo.expiryTime = expiryTime
|
||||||
entryInfo.url = url
|
entryInfo.url = url
|
||||||
entryInfo.notes = notes
|
entryInfo.notes = notes
|
||||||
entryInfo.customFields = getExtraFields()
|
entryInfo.customFields = getExtraFields()
|
||||||
@@ -448,7 +450,6 @@ class Entry : Node, EntryVersionedInterface<Group> {
|
|||||||
database?.startManageEntry(this)
|
database?.startManageEntry(this)
|
||||||
|
|
||||||
removeAllFields()
|
removeAllFields()
|
||||||
removeAllAttachments()
|
|
||||||
// NodeId stay as is
|
// NodeId stay as is
|
||||||
title = newEntryInfo.title
|
title = newEntryInfo.title
|
||||||
icon = newEntryInfo.icon
|
icon = newEntryInfo.icon
|
||||||
@@ -460,6 +461,8 @@ class Entry : Node, EntryVersionedInterface<Group> {
|
|||||||
notes = newEntryInfo.notes
|
notes = newEntryInfo.notes
|
||||||
addExtraFields(newEntryInfo.customFields)
|
addExtraFields(newEntryInfo.customFields)
|
||||||
database?.binaryPool?.let { binaryPool ->
|
database?.binaryPool?.let { binaryPool ->
|
||||||
|
// TODO Concurrent modification
|
||||||
|
// removeAllAttachments()
|
||||||
addAttachments(binaryPool, newEntryInfo.attachments)
|
addAttachments(binaryPool, newEntryInfo.attachments)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user