commit 29da910534f4883de89dbc833bfbdbeea3295e0d
parent 804a7f0bf924ed00f2583c254050852542bef2bb
Author: William Casarin <jb55@jb55.com>
Date: Wed, 13 Nov 2024 12:09:20 -0800
android: fix build
Fixes: 2f20e8253ea6 ("app: simplify Damus::new constructor")
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib.rs b/src/lib.rs
@@ -84,7 +84,7 @@ pub async fn android_main(app: AndroidApp) {
let _res = eframe::run_native(
"Damus NoteDeck",
options,
- Box::new(move |cc| Ok(Box::new(Damus::new(cc, path, app_args)))),
+ Box::new(move |cc| Ok(Box::new(Damus::new(&cc.egui_ctx, path, app_args)))),
);
}