mirror of
https://github.com/aljazceru/notedeck.git
synced 2026-01-20 00:34:19 +01:00
initial fixes for android build
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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))),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user