From 4c4eddb50c79ace202c76b0f6972596930537e1b Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Mon, 6 Oct 2025 14:52:39 -0400 Subject: [PATCH] fix: use is_maximized --- src/app/cosmic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/cosmic.rs b/src/app/cosmic.rs index 2e4b3cb..ae55484 100644 --- a/src/app/cosmic.rs +++ b/src/app/cosmic.rs @@ -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 {