Skip to content

Commit

Permalink
initial fixes for android build
Browse files Browse the repository at this point in the history
Signed-off-by: William Casarin <[email protected]>
  • Loading branch information
jb55 committed Feb 10, 2024
1 parent a9df41d commit fd0a14e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bin/notedeck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))),
);
}

0 comments on commit fd0a14e

Please sign in to comment.