From c6917ebaf53625282ce4de251a3320d0ca1ee4b9 Mon Sep 17 00:00:00 2001 From: DiscreteTom Date: Sat, 22 Jun 2024 10:09:25 +0800 Subject: [PATCH] chore(deck): optimize GUI text --- deck/src/deck.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deck/src/deck.rs b/deck/src/deck.rs index 4c12856..55f5d57 100644 --- a/deck/src/deck.rs +++ b/deck/src/deck.rs @@ -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])