Merge #1214: gui: add the version in the window title bar

79f3f5968f5d97e2588bd9f3a08d9d5b8cbbaefc gui: add the version in the window title bar (pythcoiner)

Pull request description:

  This PR add the version (major+minor) into the window titlebar, for both installer & wallet.
  close #1181

  ![image](https://github.com/user-attachments/assets/f4cc883c-dbae-4128-89ea-c9b047e3b1de)

  ![image](https://github.com/user-attachments/assets/013d5c89-9df1-4883-a014-802b255813b8)

ACKs for top commit:
  darosior:
    ACK 79f3f5968f5d97e2588bd9f3a08d9d5b8cbbaefc

Tree-SHA512: 4044f501f1e05a533f3e7b98163845a9610215ff053267db8792e2bf975f63eefb187e1f6c78210f8f06a8eaac7d91037f1635da914040674d88852cce45332f
This commit is contained in:
Antoine Poinsot 2024-08-06 11:17:13 +02:00
commit d2d9d11290
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -159,8 +159,8 @@ impl Application for GUI {
fn title(&self) -> String {
match self.state {
State::Installer(_) => String::from("Liana Installer"),
_ => String::from("Liana"),
State::Installer(_) => format!("Liana v{} Installer", VERSION),
_ => format!("Liana v{}", VERSION),
}
}