From 35966adfa0424ab2df39c7b8ff793a2fd60e5d47 Mon Sep 17 00:00:00 2001
From: phase <64127681+phasephasephase@users.noreply.github.com>
Date: Wed, 23 Oct 2024 14:06:01 -0600
Subject: [PATCH] update deps + fuck 2
---
JiayiLauncher/JiayiLauncher.csproj | 10 +++++-----
JiayiLauncher/MainPage.xaml.cs | 1 -
JiayiLauncher/Shared/MainLayout.razor | 3 +++
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/JiayiLauncher/JiayiLauncher.csproj b/JiayiLauncher/JiayiLauncher.csproj
index 58f500c..e95cd14 100644
--- a/JiayiLauncher/JiayiLauncher.csproj
+++ b/JiayiLauncher/JiayiLauncher.csproj
@@ -39,12 +39,12 @@
-
-
-
-
+
+
+
+
-
+
diff --git a/JiayiLauncher/MainPage.xaml.cs b/JiayiLauncher/MainPage.xaml.cs
index 9718dbd..48b51dc 100644
--- a/JiayiLauncher/MainPage.xaml.cs
+++ b/JiayiLauncher/MainPage.xaml.cs
@@ -100,7 +100,6 @@ public MainPage()
Singletons.Add();
Singletons.Add();
Singletons.Add();
- Singletons.Add();
Singletons.Add(this);
WebView.BlazorWebViewInitialized += (_, e) =>
diff --git a/JiayiLauncher/Shared/MainLayout.razor b/JiayiLauncher/Shared/MainLayout.razor
index f3626ea..55efe03 100644
--- a/JiayiLauncher/Shared/MainLayout.razor
+++ b/JiayiLauncher/Shared/MainLayout.razor
@@ -46,6 +46,9 @@
if (!firstRender) return;
Instance = this;
+
+ // uhh
+ Singletons.Add();
if (_internet.OfflineMode)
{