Allow "updated" to be used for the modified key

Related to #525
This commit is contained in:
Vishesh Handa
2021-07-14 11:29:03 +02:00
parent 8871d37f85
commit 2e7c4ff4ae
2 changed files with 2 additions and 0 deletions

View File

@ -128,6 +128,7 @@ class NoteSerializer implements NoteSerializerInterface {
"lastMod",
"lastmodified",
"lastmod",
"updated",
];
for (var possibleKey in modifiedKeyOptions) {
var val = data.props[possibleKey];

View File

@ -113,6 +113,7 @@ class _NoteMetadataSettingsScreenState
"mod",
"lastmodified",
"lastmod",
"updated",
],
currentOption: settings.yamlModifiedKey,
onChange: (String newVal) {