fix: Panel typo (#53)

This commit is contained in:
Ashley Wulber 2023-06-22 12:05:25 -04:00 committed by GitHub
parent 21fddb4694
commit 2a48d69fbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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 {