note: turn off full date view for previews
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user