mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-21 18:24:21 +01:00
dave: hide media in dave note previews
it bugs out sometimes Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -110,6 +110,11 @@ impl<'a, 'd> NoteView<'a, 'd> {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn hide_media(mut self, enable: bool) -> Self {
|
||||
self.options_mut().set_hide_media(enable);
|
||||
self
|
||||
}
|
||||
|
||||
pub fn frame(mut self, enable: bool) -> Self {
|
||||
self.framed = enable;
|
||||
self
|
||||
|
||||
Reference in New Issue
Block a user