notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit f3f8d4ecb48efe71e035131d535f63850fca0626
parent d9f1582ee7ff7ac30c0ddd20e350cc20f34be8bc
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  2 May 2024 18:50:25 +0200

textmode: no previews in textmore for now

Ideally these would just be angle bracket quotes or something. would be
cool.

Diffstat:
Msrc/timeline.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/timeline.rs b/src/timeline.rs @@ -96,7 +96,8 @@ pub fn timeline_view(ui: &mut egui::Ui, app: &mut Damus, timeline: usize) { return 0; }; - let note_ui = ui::Note::new(app, &note); + let textmode = app.textmode; + let note_ui = ui::Note::new(app, &note).note_previews(!textmode); ui.add(note_ui); ui.add(egui::Separator::default().spacing(0.0));