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)
|
.note_previews(false)
|
||||||
.options_button(true)
|
.options_button(true)
|
||||||
.is_preview(true)
|
.is_preview(true)
|
||||||
|
.full_date(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn textmode(mut self, enable: bool) -> Self {
|
pub fn textmode(mut self, enable: bool) -> Self {
|
||||||
@@ -124,6 +125,11 @@ impl<'a, 'd> NoteView<'a, 'd> {
|
|||||||
self
|
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 {
|
pub fn actionbar(mut self, enable: bool) -> Self {
|
||||||
self.options_mut().set(NoteOptions::ActionBar, enable);
|
self.options_mut().set(NoteOptions::ActionBar, enable);
|
||||||
self
|
self
|
||||||
|
|||||||
Reference in New Issue
Block a user