From 7b300ca5a5817d2f013c31f87df5a91598509a1a Mon Sep 17 00:00:00 2001 From: LynithDev <61880709+LynithDev@users.noreply.github.com> Date: Thu, 30 Jul 2026 17:34:18 +0200 Subject: [PATCH] fix(ui): fix startup overlaying on bundle updates --- .../src/components/splash_curtain.rs | 24 ------------------- 1 file changed, 24 deletions(-) diff --git a/packages/oneclient_app/src/components/splash_curtain.rs b/packages/oneclient_app/src/components/splash_curtain.rs index bf04733c..8b5be9c4 100644 --- a/packages/oneclient_app/src/components/splash_curtain.rs +++ b/packages/oneclient_app/src/components/splash_curtain.rs @@ -3,7 +3,6 @@ use std::time::Duration; use freya::animation::{AnimNum, Ease, Function, use_animation}; use freya::prelude::*; -use crate::AppAssets; use crate::hooks::use_splash; use crate::theme::colors; @@ -37,8 +36,6 @@ impl Component for CurtainFade { let splash = use_splash(); let ready = *splash.home_ready.read(); - let logo = use_memo(|| AppAssets::get_bytes("logo.svg").unwrap_or_default()); - let fade = use_animation(|_| { AnimNum::new(1.0, 0.0) .time(FADE_MS) @@ -81,27 +78,6 @@ impl Component for CurtainFade { .opacity(opacity) .background(colors::page()) .window_drag() - .child( - rect() - .width(Size::fill()) - .height(Size::fill()) - .center() - .vertical() - .spacing(14.) - .child( - SvgViewer::new(("logo.svg", logo.read().cloned())) - .show_loader(false) - .width(Size::px(288.)) - .height(Size::px(60.)) - .color(colors::fg_primary()), - ) - .child( - label() - .text("The only Minecraft launcher you'll need.") - .font_size(15.) - .color(colors::fg_primary().with_a(140)), - ), - ) .into_element() } }