diff --git a/src/config.rs b/src/config.rs index 49b3ce5..d8bc885 100644 --- a/src/config.rs +++ b/src/config.rs @@ -26,13 +26,6 @@ const fn cover_art_default() -> bool { } impl Config { - pub fn default() -> Self { - Self { - active: active_default(), - cover_art: cover_art_default() - } - } - pub fn from_config_file(logger: &Logger) -> Self { let path = Config::get_config_path(); logging::info!(logger, "Config path {path}"); @@ -84,3 +77,12 @@ impl Config { "/etc/mpv/".to_owned() } } + +impl Default for Config { + fn default() -> Self { + Self { + active: active_default(), + cover_art: cover_art_default() + } + } +}