diff --git a/gui/src/app/view/mod.rs b/gui/src/app/view/mod.rs index 9a0969d10..ad8302ce5 100644 --- a/gui/src/app/view/mod.rs +++ b/gui/src/app/view/mod.rs @@ -137,7 +137,14 @@ pub fn sidebar<'a>(menu: &Menu, cache: &'a Cache) -> Container<'a, Message> { Column::new() .push( Column::new() - .push(Container::new(retailer_logo()).padding(10)) + .push( + Container::new( + retailer_logo() + .height(Length::Fixed(200.0)) + .width(Length::Fixed(200.0)), + ) + .padding(10), + ) .push(home_button) .push(spend_button) .push(receive_button) diff --git a/gui/src/app/view/settings.rs b/gui/src/app/view/settings.rs index 846f77a25..376ca1b5d 100644 --- a/gui/src/app/view/settings.rs +++ b/gui/src/app/view/settings.rs @@ -217,7 +217,10 @@ pub fn about_section<'a>( .push( Row::new().push(Space::with_width(Length::Fill)).push( Column::new() - .push(text(format!("liana-gui v{}", crate::RETAILER_VERSION))) + .push(text(format!( + "liana-gui Smart Vault - v{}", + crate::RETAILER_VERSION + ))) .push_maybe( lianad_version .map(|version| text(format!("lianad v{}", version))), diff --git a/gui/src/main.rs b/gui/src/main.rs index 646670a99..80806fa2f 100644 --- a/gui/src/main.rs +++ b/gui/src/main.rs @@ -145,8 +145,8 @@ impl Application for GUI { fn title(&self) -> String { match self.state { - State::Installer(_) => format!("Liana v{} Installer", VERSION), - _ => format!("Liana v{}", VERSION), + State::Installer(_) => format!("Smart Vault - Liana v{} Installer", VERSION), + _ => format!("Smart Vault - Liana v{}", VERSION), } } @@ -564,7 +564,7 @@ fn main() -> Result<(), Box> { setup_panic_hook(); let mut settings = Settings::with_flags((config, log_level)); - settings.window.icon = Some(image::liana_app_icon()); + settings.window.icon = Some(image::retailer_app_icon()); settings.window.min_size = Some(Size { width: 1000.0, height: 650.0, diff --git a/gui/ui/src/image.rs b/gui/ui/src/image.rs index 3a93dc72d..d95ac114c 100644 --- a/gui/ui/src/image.rs +++ b/gui/ui/src/image.rs @@ -6,6 +6,7 @@ const LIANA_LOGO_GREY: &[u8] = include_bytes!("../static/logos/LIANA_SYMBOL_Gray const LIANA_BRAND_GREY: &[u8] = include_bytes!("../static/logos/LIANA_BRAND_Gray.svg"); const WIZARDSARDINE_LETTERING: &[u8] = include_bytes!("../static/logos/logo-wizardsardine.svg"); +const RETAILER_ICON: &[u8] = include_bytes!("../static/logos/21st-capital-app-icon.png"); const RETAILER_LOGO: &[u8] = include_bytes!("../static/logos/21ST_CAPITAL_White.svg"); pub fn liana_app_icon() -> icon::Icon { @@ -22,6 +23,10 @@ pub fn retailer_logo() -> Svg { Svg::new(h) } +pub fn retailer_app_icon() -> icon::Icon { + icon::from_file_data(RETAILER_ICON, None).unwrap() +} + pub fn liana_brand_grey() -> Svg { let h = Handle::from_memory(LIANA_BRAND_GREY.to_vec()); Svg::new(h) diff --git a/gui/ui/static/logos/21st-capital-app-icon.png b/gui/ui/static/logos/21st-capital-app-icon.png new file mode 100644 index 000000000..54723d193 Binary files /dev/null and b/gui/ui/static/logos/21st-capital-app-icon.png differ