chore: update config to use version

This commit is contained in:
Ashley Wulber 2024-03-07 20:57:56 -05:00 committed by Jeremy Soller
parent 0505524eae
commit 30fd5c2c6e
2 changed files with 2 additions and 8 deletions

View file

@ -460,7 +460,7 @@ impl cosmic::Application for Audio {
self.timeline.set_chain(chain).start();
self.config.show_media_controls_in_top_panel = enabled;
if let Ok(helper) =
cosmic::cosmic_config::Config::new(Self::APP_ID, AudioAppletConfig::version())
cosmic::cosmic_config::Config::new(Self::APP_ID, AudioAppletConfig::VERSION)
{
if let Err(err) = self.config.write_entry(&helper) {
tracing::error!(?err, "Error writing config");