mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Show version number in settings (#129)
This commit is contained in:
@@ -9,6 +9,7 @@ use super::{
|
||||
MyEguiApp,
|
||||
};
|
||||
const SECTION_SPACING: f32 = 25.0;
|
||||
const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
impl MyEguiApp {
|
||||
pub(crate) fn render_settings(&mut self, ui: &mut egui::Ui) {
|
||||
@@ -51,6 +52,8 @@ impl MyEguiApp {
|
||||
{
|
||||
self.render_amazon_settings(ui);
|
||||
}
|
||||
ui.add_space(SECTION_SPACING);
|
||||
ui.label(format!("Version: {}", VERSION));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user