Add support for Window::theme on the web (#2687)
This commit is contained in:
parent
0f89aac9f6
commit
a31f71ee07
3 changed files with 16 additions and 2 deletions
|
|
@ -1126,7 +1126,7 @@ impl Window {
|
|||
/// ## Platform-specific
|
||||
///
|
||||
/// - **macOS:** This is an app-wide setting.
|
||||
/// - **iOS / Android / Web / Wayland / x11 / Orbital:** Unsupported.
|
||||
/// - **iOS / Android / Wayland / x11 / Orbital:** Unsupported.
|
||||
#[inline]
|
||||
pub fn theme(&self) -> Option<Theme> {
|
||||
self.window.theme()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue