Fix android/ios desktop builds, move type from native over

This commit is contained in:
Jonathan Kelley committed 2024-09-17 18:25:56 -07:00
1 parent fd9229a768
commit 5c6b72627b
3 files changed
+31 -35

No files matched your search

+1 -6
View File
@@ -18,12 +18,7 @@ pub enum UserWindowEvent {
Ipc { id: WindowId, msg: IpcMessage },
/// Handle a hotreload event, basically telling us to update our templates
#[cfg(all(
feature = "devtools",
debug_assertions,
not(target_os = "android"),
not(target_os = "ios")
))]
#[cfg(all(feature = "devtools", debug_assertions))]
HotReloadEvent(dioxus_devtools::DevserverMsg),
/// Create a new window