From a1f9713037aa073c7d11f0c65730a3ca288a990f Mon Sep 17 00:00:00 2001 From: Blooym <19539165+Blooym@users.noreply.github.com> Date: Thu, 28 Nov 2024 13:30:36 +0000 Subject: [PATCH] refactor: remove leftover updatewarn references --- src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs | 6 +++--- src/XIVLauncher.Core/LauncherApp.cs | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs b/src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs index 0dc299b6..f9d9e032 100644 --- a/src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs +++ b/src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs @@ -6,19 +6,19 @@ namespace XIVLauncher.Core.Components; public class SteamDeckPromptPage : Page { - private readonly TextureWrap updateWarnTexture; + private readonly TextureWrap switchPromptTexture; public SteamDeckPromptPage(LauncherApp app) : base(app) { - this.updateWarnTexture = TextureWrap.Load(AppUtil.GetEmbeddedResourceBytes("steamdeck_switchprompt.png")); + this.switchPromptTexture = TextureWrap.Load(AppUtil.GetEmbeddedResourceBytes("steamdeck_switchprompt.png")); } public override void Draw() { ImGui.SetCursorPos(new Vector2(0)); - ImGui.Image(this.updateWarnTexture.ImGuiHandle, new Vector2(1280, 800)); + ImGui.Image(this.switchPromptTexture.ImGuiHandle, new Vector2(1280, 800)); base.Draw(); } diff --git a/src/XIVLauncher.Core/LauncherApp.cs b/src/XIVLauncher.Core/LauncherApp.cs index 279bc2e7..715e2b8e 100644 --- a/src/XIVLauncher.Core/LauncherApp.cs +++ b/src/XIVLauncher.Core/LauncherApp.cs @@ -246,12 +246,6 @@ public void StopLoading() this.State = LauncherState.Main; } - public void FinishFromUpdateWarn() - { - this.State = LauncherState.Main; - this.RunStartupTasks(); - } - public void RunStartupTasks() { #if FLATPAK