Fix platform-less check in launch

This commit is contained in:
Jonathan Kelley 2024-01-18 19:51:01 -08:00
parent 391fe15db8
commit 87572d694f
No known key found for this signature in database
GPG key ID: 1FBB50F7EB0A08BE

View file

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