feat(lib, daemon, gui): daemon version in fullstate and gui (#180)

* add daemon_version field to the FullState

* add daemon version to the pwsp-gui settings page
This commit is contained in:
Tarasov Aleksandr
2026-07-30 10:30:31 +03:00
committed by GitHub
parent 0d0b5f9f29
commit c9f30e09d7
6 changed files with 25 additions and 4 deletions
+10 -4
View File
@@ -120,10 +120,16 @@ impl SoundpadGui {
// --------------------------------
ui.with_layout(Layout::bottom_up(Align::Min), |ui| {
ui.label(t!(
"gui.settings.version",
version = env!("CARGO_PKG_VERSION")
));
ui.horizontal(|ui| {
ui.label(t!(
"gui.settings.version",
version = env!("CARGO_PKG_VERSION")
));
ui.label(t!(
"gui.settings.daemon_version",
version = self.audio_player_state.daemon_version
))
});
});
});
}