dominus

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

commit 3f64dedf76c605685855bea558b0550068281556
parent 641c339682c03f6feea681a2710fa04029654e9c
Author: William Casarin <jb55@jb55.com>
Date:   Thu,  1 Dec 2022 07:20:58 -0800

I dunno

Diffstat:
Msrc/app.rs | 4+++-
Msrc/bin/main.rs | 4++--
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/app.rs b/src/app.rs @@ -85,7 +85,9 @@ impl Damus<'_> { //return eframe::get_value(storage, eframe::APP_KEY).unwrap_or_default(); //} - Default::default() + let mut d: Self = Default::default(); + d.add_test_events(); + d } } diff --git a/src/bin/main.rs b/src/bin/main.rs @@ -13,7 +13,7 @@ fn main() { eframe::run_native( "Damus Desktop", native_options, - Box::new(|cc| Box::new(Damus::new())), + Box::new(|_cc| Box::new(Damus::new())), ); } @@ -30,7 +30,7 @@ fn main() { eframe::start_web( "the_canvas_id", // hardcode it web_options, - Box::new(|cc| Box::new(Damus::new())), + Box::new(|_cc| Box::new(Damus::new())), ) .expect("failed to start eframe"); }