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

@ -3,13 +3,7 @@ use cosmic::cosmic_config::{self, CosmicConfigEntry};
use serde::{Deserialize, Serialize};
#[derive(Default, Debug, Clone, Serialize, Deserialize, CosmicConfigEntry, PartialEq, Eq)]
#[version = 1]
pub struct AudioAppletConfig {
pub show_media_controls_in_top_panel: bool,
}
impl AudioAppletConfig {
/// Returns the version of the config
pub fn version() -> u64 {
1
}
}