note: turn off full date view for previews

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-08-03 14:45:43 -07:00
parent 5b1bc442d4
commit 24f70930eb

View File

@@ -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