fix(panel): config file name typo

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

View file

@ -83,7 +83,7 @@ pub struct Page {
impl Default for Page {
fn default() -> Self {
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.panel", 1).ok();
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.Panel", 1).ok();
let current_config = config_helper.as_ref().and_then(|config_helper| {
// TODO error handling...
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;

View file

@ -29,7 +29,7 @@ pub struct Page {
impl Default for Page {
fn default() -> Self {
// TODO CosmicPanelConfig should return its own version
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.panel", 1).ok();
let config_helper = cosmic_config::Config::new("com.system76.CosmicPanel.Panel", 1).ok();
let panel_config = config_helper.as_ref().and_then(|config_helper| {
// TODO error handling...
let panel_config = CosmicPanelConfig::get_entry(config_helper).ok()?;