fix: derive PartialEq for Theme
This commit is contained in:
parent
31d7c75098
commit
6699aa4756
5 changed files with 8 additions and 23 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue