fix: derive PartialEq for Theme

This commit is contained in:
Ashley Wulber 2023-06-09 17:13:01 -04:00 committed by Ashley Wulber
parent 31d7c75098
commit 6699aa4756
5 changed files with 8 additions and 23 deletions

View file

@ -58,7 +58,7 @@ lazy_static::lazy_static! {
};
}
#[derive(Debug, Clone, Eq, PartialEq, Default)]
#[derive(Debug, Clone, PartialEq, Default)]
pub enum ThemeType {
#[default]
Dark,
@ -68,7 +68,7 @@ pub enum ThemeType {
Custom(Arc<CosmicTheme>),
}
#[derive(Debug, Clone, Eq, PartialEq, Default)]
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Theme {
pub theme_type: ThemeType,
pub layer: cosmic_theme::Layer,