From 4d8ce9052da10a2336a6f1b65cf68110bd07c1c7 Mon Sep 17 00:00:00 2001 From: H3llmy Date: Sat, 24 Jan 2026 19:53:18 +0800 Subject: [PATCH] fix(window): fix build error on ios app --- packages/window/src/theme.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/window/src/theme.rs b/packages/window/src/theme.rs index c98e737..32f42a0 100644 --- a/packages/window/src/theme.rs +++ b/packages/window/src/theme.rs @@ -272,7 +272,7 @@ fn get_theme_platform() -> ThemeResult { } // Implementation for unsupported platforms. -#[cfg(not(any(target_family = "wasm", target_os = "windows", target_os = "macos")))] +#[cfg(not(any(target_family = "wasm", target_os = "windows", target_os = "macos", target_os = "ios")))] fn get_theme_platform() -> ThemeResult { Err(ThemeError::Unsupported) }