refactor(app): use dash for update settings message

This commit is contained in:
Tim 2025-02-19 11:11:08 +01:00
parent 18b41fd707
commit feb25eb65e

View file

@ -260,7 +260,7 @@ impl MainWindow {
web_tx_web.send(RPCResponse::open_media(command_ref)).ok();
}
}
Some("update_settings") => {
Some("update-settings") => {
if let Some(arg) = msg.get_params() {
match serde_json::from_value::<Settings>(arg.to_owned()) {
Ok(settings) => {