fix(header_bar): Windows build fix

This commit is contained in:
Joshua Megnauth 2025-06-26 00:36:52 -04:00 committed by GitHub
parent 7555d9dfd1
commit 46cbce033b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 8 deletions

View file

@ -10,6 +10,7 @@ pub trait IconSourceExt {
fn as_cosmic_icon(&self) -> crate::widget::icon::Icon;
}
#[cfg(not(windows))]
impl IconSourceExt for fde::IconSource {
fn as_cosmic_icon(&self) -> crate::widget::icon::Icon {
match self {