chore: cargo fmt
This commit is contained in:
parent
990e2e291b
commit
cb288070af
3 changed files with 12 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue