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:
parent
274cb89af7
commit
2e44201fb6
@ -101,7 +101,7 @@ impl Ui {
|
||||
}
|
||||
|
||||
fn title(&self) -> String {
|
||||
"CertTools".into()
|
||||
"Cert Tools".into()
|
||||
}
|
||||
|
||||
fn update(&mut self, message: Message) -> Task<Message> {
|
||||
@ -683,7 +683,11 @@ impl Ui {
|
||||
UiMode::Output => column![output],
|
||||
},
|
||||
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)
|
||||
.spacing(2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user