wip: move desktop to main thread and use tokio main

This commit is contained in:
Jonathan Kelley committed 2022-12-29 17:11:29 -05:00
1 parent 6a4979b574
commit ff697d41e3
4 files changed
+218 -141

No files matched your search

+3 -2
View File
@@ -4,8 +4,9 @@
use dioxus::prelude::*;
fn main() {
dioxus_desktop::launch(app);
#[tokio::main]
async fn main() {
dioxus_desktop::launch(app).await;
}
fn app(cx: Scope) -> Element {