Pārlūkot izejas kodu

Intentionally shadow module to prevent accidential use (#4327)

Moritz Hedtke 2 dienas atpakaļ
vecāks
revīzija
ac9b1fc519
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      packages/mobile/src/lib.rs

+ 3 - 0
packages/mobile/src/lib.rs

@@ -3,6 +3,9 @@
 #![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
 
 pub use dioxus_desktop::*;
+// intentionally shadow the launch module as it does not work on mobile.
+pub mod launch {}
+
 use dioxus_lib::prelude::*;
 use std::any::Any;