fix: use is_maximized
This commit is contained in:
parent
a27bb5e05d
commit
4c4eddb50c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue