refactor: make options_button a NoteOptions
No reason why this needs to be a standalone bool Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -119,7 +119,7 @@ impl<'a> ThreadView<'a> {
|
||||
ui::NoteView::new(self.ndb, self.note_cache, self.img_cache, ¬e)
|
||||
.note_previews(!self.textmode)
|
||||
.textmode(self.textmode)
|
||||
.use_more_options_button(!self.textmode)
|
||||
.options_button(!self.textmode)
|
||||
.show(ui);
|
||||
if let Some(bar_action) = note_response.action {
|
||||
action = Some(bar_action);
|
||||
|
||||
Reference in New Issue
Block a user