diff --git a/crates/notedeck_ui/src/note/mod.rs b/crates/notedeck_ui/src/note/mod.rs index 43f7cda1..69176b68 100644 --- a/crates/notedeck_ui/src/note/mod.rs +++ b/crates/notedeck_ui/src/note/mod.rs @@ -117,6 +117,7 @@ impl<'a, 'd> NoteView<'a, 'd> { .note_previews(false) .options_button(true) .is_preview(true) + .full_date(false) } pub fn textmode(mut self, enable: bool) -> Self { @@ -124,6 +125,11 @@ impl<'a, 'd> NoteView<'a, 'd> { self } + pub fn full_date(mut self, enable: bool) -> Self { + self.options_mut().set(NoteOptions::FullCreatedDate, enable); + self + } + pub fn actionbar(mut self, enable: bool) -> Self { self.options_mut().set(NoteOptions::ActionBar, enable); self