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:
William Casarin
2024-09-26 09:31:11 -07:00
parent 1a94c21d96
commit a9cb734ef6
6 changed files with 32 additions and 37 deletions

View File

@@ -149,7 +149,7 @@ fn timeline_ui(
let resp = ui::NoteView::new(ndb, note_cache, img_cache, &note)
.note_previews(!textmode)
.selectable_text(false)
.use_more_options_button(true)
.options_button(true)
.show(ui);
if let Some(ba) = resp.action {