mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Adapt code for each custom fields
This commit is contained in:
@@ -68,7 +68,7 @@ class TemplateEngine(private val databaseKDBX: DatabaseKDBX) {
|
||||
private fun getTemplateFromTemplateEntry(templateEntry: EntryKDBX): Template? {
|
||||
var templateVersion: Int? = null
|
||||
val attributes = HashMap<String, TemplateAttributePosition>()
|
||||
for ((key, value) in templateEntry.customFields) {
|
||||
templateEntry.doForEachDecodedCustomField { key, value ->
|
||||
when {
|
||||
key.equals(TEMPLATE_LABEL_VERSION, true) -> {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user