wip: move desktop to main thread and use tokio main
This commit is contained in:
1 parent
6a4979b574
commit
ff697d41e3
4 files changed
+218
-141
No files matched your search
+3
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user