mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-28 04:46:51 -08:00
Fix small TODO
This commit is contained in:
1 parent
902392ea30
commit
524c8ccfc5
2 files changed
+7
-11
No files matched your search
@@ -378,19 +378,11 @@ class EntryEditActivity : LockingActivity(),
|
||||
* Add a new customized field
|
||||
*/
|
||||
private fun addNewCustomField() {
|
||||
//if (mIsTemplate) {
|
||||
// TODO Custom Dialog to add a complete template field
|
||||
//} else {
|
||||
EntryCustomFieldDialogFragment.getInstance().show(supportFragmentManager, "customFieldDialog")
|
||||
//}
|
||||
EntryCustomFieldDialogFragment.getInstance().show(supportFragmentManager, "customFieldDialog")
|
||||
}
|
||||
|
||||
private fun editCustomField(field: Field) {
|
||||
//if (mIsTemplate) {
|
||||
// TODO Custom Dialog to edit a complete template field
|
||||
//} else {
|
||||
EntryCustomFieldDialogFragment.getInstance(field).show(supportFragmentManager, "customFieldDialog")
|
||||
//}
|
||||
EntryCustomFieldDialogFragment.getInstance(field).show(supportFragmentManager, "customFieldDialog")
|
||||
}
|
||||
|
||||
override fun onNewCustomFieldApproved(newField: Field) {
|
||||
|
||||
@@ -121,7 +121,11 @@ class DateTimeEditFieldView @JvmOverloads constructor(context: Context,
|
||||
return if (activation) dateTime.toString() else ""
|
||||
}
|
||||
set(value) {
|
||||
// TODO set date time string value
|
||||
mDateTime = try {
|
||||
DateInstant(value)
|
||||
} catch (e: Exception) {
|
||||
DateInstant.NEVER_EXPIRES
|
||||
}
|
||||
}
|
||||
|
||||
override var isFieldVisible: Boolean
|
||||
|
||||
Reference in new issue
Block a user