From c5e097123ca189dcbb7ef6570cfafc5d54357643 Mon Sep 17 00:00:00 2001 From: shuo Date: Wed, 14 Sep 2022 23:09:23 +0800 Subject: [PATCH] fix ios filesystem build break --- src/filesystem/mod.rs | 2 ++ src/lib.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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;