Skip to content

Commit

Permalink
refactor: remove leftover updatewarn references
Browse files Browse the repository at this point in the history
  • Loading branch information
Blooym committed Nov 28, 2024
1 parent bd5d622 commit a1f9713
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/XIVLauncher.Core/Components/SteamDeckPromptPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
6 changes: 0 additions & 6 deletions src/XIVLauncher.Core/LauncherApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a1f9713

Please sign in to comment.