mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix small TODO
This commit is contained in:
@@ -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")
|
||||
//}
|
||||
}
|
||||
|
||||
private fun editCustomField(field: Field) {
|
||||
//if (mIsTemplate) {
|
||||
// TODO Custom Dialog to edit a complete template field
|
||||
//} else {
|
||||
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