tweak(cosmic-theme): pretty write ini

This commit is contained in:
Adil Hanney 2026-02-18 20:42:34 +00:00 committed by Jeremy Soller
parent 3ed5c173fd
commit 754b064bff
3 changed files with 12 additions and 4 deletions

View file

@ -5,7 +5,7 @@ use std::{
path::PathBuf,
};
use super::OutputError;
use super::{OutputError, qt_settings_ini_style};
impl Theme {
/// The "version" of this theme.
@ -86,7 +86,8 @@ impl Theme {
}
}
ini.write(path).map_err(OutputError::Io)?;
ini.pretty_write(path, &qt_settings_ini_style())
.map_err(OutputError::Io)?;
Ok(())
}