Skip to content

Commit

Permalink
chore(deck): optimize GUI text
Browse files Browse the repository at this point in the history
  • Loading branch information
DiscreteTom committed Jun 22, 2024
1 parent acd00db commit c6917eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deck/src/deck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,12 @@ impl Application for App {
.on_press(Message::Exit)
.width(Length::Fill),
text(&format!(
"=== Server is listening at {}:{} ===",
self.local_ip, self.port
"=== [stickdeck v{}] Server is listening at {}:{} ===",
env!("CARGO_PKG_VERSION"),
self.local_ip,
self.port
))
.size(5),
text(&format!("stickdeck v{}", env!("CARGO_PKG_VERSION"))).size(5),
text(&self.content).size(4)
]
.padding([4, 20])
Expand Down

0 comments on commit c6917eb

Please sign in to comment.