From ba41a3c00471294ccf9e898f32a57d290f151452 Mon Sep 17 00:00:00 2001 From: Observer KRypt0n_ <suimin.tu.mu.ga.mi@gmail.com> Date: Thu, 3 Aug 2023 18:58:16 +0200 Subject: [PATCH] fix(ui): fixed logo size in the first run window --- src/ui/first_run/welcome.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/first_run/welcome.rs b/src/ui/first_run/welcome.rs index a465cbb..3a55143 100644 --- a/src/ui/first_run/welcome.rs +++ b/src/ui/first_run/welcome.rs @@ -28,8 +28,8 @@ impl SimpleAsyncComponent for WelcomeApp { set_valign: gtk::Align::Center, set_vexpand: true, - gtk::Image { - set_icon_name: Some(APP_ID), + gtk::Picture { + set_resource: Some(&format!("{APP_RESOURCE_PATH}/icons/hicolor/scalable/apps/{APP_ID}.png")), set_height_request: 128 },