Jonathan Kelley 3 éve
szülő
commit
b96491f
2 módosított fájl, 3 hozzáadás és 3 törlés
  1. 1 1
      examples/manual_edits.rs
  2. 2 2
      packages/mobile/Cargo.toml

+ 1 - 1
examples/manual_edits.rs

@@ -35,5 +35,5 @@ fn main() {
 
     let app: Component = |cx| cx.render(rsx!(div { "some app" }));
 
-    dioxus_desktop::run(app, (), |c| c.with_edits(edits));
+    dioxus_desktop::launch_core(app, (), |c| c.with_edits(edits));
 }

+ 2 - 2
packages/mobile/Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "dioxus-mobile"
-version = "0.0.1"
+version = "0.0.2"
 authors = ["Jonathan Kelley"]
 edition = "2018"
 description = "Mobile-compatible renderer for Dioxus"
@@ -12,4 +12,4 @@ license = "MIT/Apache-2.0"
 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
 
 [dependencies]
-dioxus-desktop = { path = "../desktop", version = "0.1.1" }
+dioxus-desktop = { path = "../desktop", version = "^0.1.2" }