diff --git a/app/src/pages/desktop/panel/applets.rs b/app/src/pages/desktop/panel/applets.rs index b479cb8..2b78235 100644 --- a/app/src/pages/desktop/panel/applets.rs +++ b/app/src/pages/desktop/panel/applets.rs @@ -88,7 +88,7 @@ impl Default for Page { // TODO error handling... let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?; // If the config is not present, it will be created with the default values and the name will not match - (panel_config.name == "panel").then_some(panel_config) + (panel_config.name == "Panel").then_some(panel_config) }); Self { available_entries: Vec::new(), @@ -408,7 +408,7 @@ impl Page { // TODO error handling... let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?; // If the config is not present, it will be created with the default values and the name will not match - (panel_config.name == "panel").then_some(panel_config) + (panel_config.name == "Panel").then_some(panel_config) }); self.current_config = current_config; } diff --git a/app/src/pages/desktop/panel/mod.rs b/app/src/pages/desktop/panel/mod.rs index f6c2941..a3453c1 100644 --- a/app/src/pages/desktop/panel/mod.rs +++ b/app/src/pages/desktop/panel/mod.rs @@ -34,7 +34,7 @@ impl Default for Page { // TODO error handling... let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?; // If the config is not present, it will be created with the default values and the name will not match - (panel_config.name == "panel").then_some(panel_config) + (panel_config.name == "Panel").then_some(panel_config) }); Self {