Pārlūkot izejas kodu

Fix platform-less check in launch

Jonathan Kelley 1 gadu atpakaļ
vecāks
revīzija
87572d694f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      packages/dioxus/src/launch.rs

+ 1 - 1
packages/dioxus/src/launch.rs

@@ -140,7 +140,7 @@ mod current_platform {
     #[cfg(not(any(feature = "desktop", feature = "web", feature = "fullstack")))]
     pub fn launch(
         root: fn() -> dioxus_core::Element,
-        contexts: super::ContextList,
+        contexts: Vec<Box<super::ValidContext>>,
         platform_config: Config,
     ) {
     }