fix: Panel typo (#53)
This commit is contained in:
parent
21fddb4694
commit
2a48d69fbe
2 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ impl Default for Page {
|
||||||
// TODO error handling...
|
// TODO error handling...
|
||||||
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;
|
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
|
// 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 {
|
Self {
|
||||||
available_entries: Vec::new(),
|
available_entries: Vec::new(),
|
||||||
|
|
@ -408,7 +408,7 @@ impl Page {
|
||||||
// TODO error handling...
|
// TODO error handling...
|
||||||
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;
|
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
|
// 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;
|
self.current_config = current_config;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ impl Default for Page {
|
||||||
// TODO error handling...
|
// TODO error handling...
|
||||||
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;
|
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
|
// 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 {
|
Self {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue