Skip to content

Commit

Permalink
Forgot to exclude mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Sep 18, 2024
1 parent 5f090ef commit ce0a204
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/event_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,15 @@ impl<T> EventLoopWindowTarget<T> {
/// - **iOS / Android:** Unsupported.
#[inline]
pub fn set_theme(&self, theme: Option<Theme>) {
#[cfg(any(
windows,
target_os = "linux",
target_os = "dragonfly",
target_os = "freebsd",
target_os = "netbsd",
target_os = "openbsd",
target_os = "macos",
))]
self.p.set_theme(theme)
}
}
Expand Down

0 comments on commit ce0a204

Please sign in to comment.