refactor dioxus platform support to use feature mobile

This commit is contained in:
2026-01-04 19:31:29 -07:00
parent eda8c4467e
commit 6d5bf80d72
3 changed files with 18 additions and 17 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
#[cfg(feature = "web")]
mod web;
#[cfg(feature = "desktop")]
#[cfg(any(feature = "desktop", feature = "android"))]
mod desktop;
#[cfg(all(feature = "web", not(feature = "desktop")))]
#[cfg(all(feature = "web", not(any(feature = "desktop", feature = "android"))))]
pub use web::*;
#[cfg(feature = "desktop")]
#[cfg(any(feature = "desktop", feature = "android"))]
pub use desktop::*;