mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-28 04:46:51 -08:00
Add UUID ref for entry
This commit is contained in:
1 parent
f6c41b5a60
commit
d397c5c996
2 files changed
+20
-4
No files matched your search
@@ -92,6 +92,7 @@ class EntryContentsView @JvmOverloads constructor(context: Context,
|
||||
private val historyAdapter = EntryHistoryAdapter(context)
|
||||
|
||||
private val uuidView: TextView
|
||||
private val uuidReferenceView: TextView
|
||||
|
||||
val isUserNamePresent: Boolean
|
||||
get() = userNameContainerView.visibility == View.VISIBLE
|
||||
@@ -147,6 +148,7 @@ class EntryContentsView @JvmOverloads constructor(context: Context,
|
||||
}
|
||||
|
||||
uuidView = findViewById(R.id.entry_UUID)
|
||||
uuidReferenceView = findViewById(R.id.entry_UUID_reference)
|
||||
|
||||
val attrColorAccent = intArrayOf(R.attr.colorAccent)
|
||||
val taColorAccent = context.theme.obtainStyledAttributes(attrColorAccent)
|
||||
@@ -346,7 +348,8 @@ class EntryContentsView @JvmOverloads constructor(context: Context,
|
||||
}
|
||||
|
||||
fun assignUUID(uuid: UUID) {
|
||||
uuidView.text = uuid.toKeePassRefString()
|
||||
uuidView.text = uuid.toString()
|
||||
uuidReferenceView.text = uuid.toKeePassRefString()
|
||||
}
|
||||
|
||||
/* -------------
|
||||
|
||||
Reference in new issue
Block a user