1
0
mirror of https://github.com/pcvolkmer/cert-tools.git synced 2025-04-19 17:06:49 +00:00

feat: show crate version in UI (#5)

This commit is contained in:
Paul-Christian Volkmer 2025-01-26 16:09:24 +01:00 committed by GitHub
parent 274cb89af7
commit 2e44201fb6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -683,7 +683,11 @@ impl Ui {
UiMode::Output => column![output], UiMode::Output => column![output],
}, },
horizontal_rule(1), horizontal_rule(1),
text(&self.status) row![
text(&self.status),
horizontal_space(),
text(format!("Version {}", env!("CARGO_PKG_VERSION"))).style(|_| text::Style { color: Some(color!(0x888888)) }),
]
] ]
.padding(4) .padding(4)
.spacing(2) .spacing(2)