diff --git a/src/filesystem/mod.rs b/src/filesystem/mod.rs index 664360e..c031d61 100644 --- a/src/filesystem/mod.rs +++ b/src/filesystem/mod.rs @@ -10,5 +10,7 @@ pub use traits::*; pub mod save; pub use save::FileSavePanel; +#[cfg(feature = "appkit")] pub mod select; +#[cfg(feature = "appkit")] pub use select::FileSelectPanel; diff --git a/src/lib.rs b/src/lib.rs index 355bce9..af7377a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -131,7 +131,7 @@ pub mod events; pub mod defaults; -#[cfg(feature = "appkit")] +#[cfg(any(feature = "appkit", feature = "uikit"))] pub mod filesystem; pub mod foundation;