fix: use is_maximized

This commit is contained in:
Ashley Wulber 2025-10-06 14:52:39 -04:00 committed by Jeremy Soller
parent a27bb5e05d
commit 4c4eddb50c

View file

@ -391,7 +391,7 @@ where
pub fn style(&self, theme: &Theme) -> iced_runtime::Appearance {
if let Some(style) = self.app.style() {
style
} else if self.app.core().window.sharp_corners {
} else if self.app.core().window.is_maximized {
let theme = THEME.lock().unwrap();
crate::style::iced::application::appearance(theme.borrow())
} else {