frontend fixes & db rewrite with serde

This commit is contained in:
Priler 2026-01-04 09:00:51 +05:00
parent a425d8f834
commit 78eb0c0080
37 changed files with 910 additions and 663 deletions

View file

@ -49,10 +49,10 @@ pub fn save_settings(settings: &structs::Settings) -> Result<(), std::io::Error>
let db_file_path = get_db_file_path();
std::fs::write(
db_file_path,
&db_file_path,
serde_json::to_string_pretty(&settings).unwrap(),
)?;
info!("Settings saved.");
info!("Settings saved to: {:#}", db_file_path.display());
Ok(())
}