mirror of
https://github.com/arabianq/pipewire-soundpad.git
synced 2026-08-01 16:14:11 +00:00
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:
@@ -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
|
||||
))
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user