chore: cargo fmt

This commit is contained in:
Vukašin Vojinović 2026-02-17 20:37:56 +01:00
parent 58ad49ffd3
commit d40e5f5c03
3 changed files with 12 additions and 3 deletions

View file

@ -692,7 +692,9 @@ impl Theme {
let is_dark = ThemeMode::is_dark(&config).map_err(|e| (vec![e], Self::default()))?;
Self::get_active_with_brightness(is_dark)
}
pub fn get_active_with_brightness(is_dark: bool) -> Result<Self, (Vec<cosmic_config::Error>, Self)> {
pub fn get_active_with_brightness(
is_dark: bool,
) -> Result<Self, (Vec<cosmic_config::Error>, Self)> {
let config = if is_dark {
Self::dark_config()
} else {