notedeck

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

commit fd0a14eac26538355caa6fc85bc516519bf9f5e5
parent a9df41d7baff843b8766754374ac9928fbd190ec
Author: William Casarin <jb55@jb55.com>
Date:   Fri,  9 Feb 2024 18:55:12 -0800

initial fixes for android build

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Msrc/bin/notedeck.rs | 2+-
Msrc/lib.rs | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/notedeck.rs b/src/bin/notedeck.rs @@ -35,7 +35,7 @@ pub 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(cc))), ) .await .expect("failed to start eframe"); diff --git a/src/lib.rs b/src/lib.rs @@ -43,6 +43,6 @@ pub async fn android_main(app: AndroidApp) { let res_ = eframe::run_native( "Damus NoteDeck", options, - Box::new(|_cc| Box::new(Damus::new())), + Box::new(|cc| Box::new(Damus::new(cc))), ); }