Skip to content

Commit d8820cf

Browse files
committed
Tidy up HomePage.xaml.cs
1 parent b892fc1 commit d8820cf

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

CollapseLauncher/XAMLs/MainApp/Pages/HomePage.xaml.cs

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
#if !DISABLEDISCORD
21
using CollapseLauncher.DiscordPresence;
3-
#endif
42
using CollapseLauncher.CustomControls;
53
using CollapseLauncher.Extension;
64
using CollapseLauncher.Helper;
75
using CollapseLauncher.Helper.Animation;
86
using CollapseLauncher.Helper.Database;
97
using CollapseLauncher.Helper.Image;
8+
using CollapseLauncher.Helper.LauncherApiLoader.HoYoPlay;
9+
using CollapseLauncher.Helper.Loading;
1010
using CollapseLauncher.Helper.Metadata;
1111
using CollapseLauncher.Statics;
12-
using CommunityToolkit.WinUI;
1312
using CommunityToolkit.WinUI.Animations;
1413
using Hi3Helper;
1514
using Hi3Helper.Data;
@@ -23,19 +22,19 @@
2322
using Microsoft.UI.Xaml.Controls;
2423
using Microsoft.UI.Xaml.Controls.Primitives;
2524
using Microsoft.UI.Xaml.Input;
25+
using Microsoft.UI.Xaml.Media;
2626
using Microsoft.UI.Xaml.Media.Animation;
2727
using Microsoft.UI.Xaml.Media.Imaging;
28-
using PhotoSauce.MagicScaler;
2928
using System;
3029
using System.Collections.Concurrent;
3130
using System.Collections.Generic;
3231
using System.Diagnostics;
3332
using System.IO;
3433
using System.IO.Hashing;
35-
using System.Linq;
3634
using System.Numerics;
3735
using System.Threading.Tasks;
38-
using Microsoft.UI.Xaml.Media;
36+
using WinRT;
37+
3938
using static CollapseLauncher.Dialogs.SimpleDialogs;
4039
using static CollapseLauncher.InnerLauncherConfig;
4140
using static Hi3Helper.Data.ConverterTool;
@@ -44,12 +43,7 @@
4443
using static Hi3Helper.Shared.Region.LauncherConfig;
4544
using Brush = Microsoft.UI.Xaml.Media.Brush;
4645
using Image = Microsoft.UI.Xaml.Controls.Image;
47-
using Point = Windows.Foundation.Point;
4846
using UIElementExtensions = CollapseLauncher.Extension.UIElementExtensions;
49-
using CollapseLauncher.Helper.LauncherApiLoader.HoYoPlay;
50-
using WinRT;
51-
using CollapseLauncher.Helper.Loading;
52-
5347
// ReSharper disable InconsistentNaming
5448
// ReSharper disable SwitchStatementHandlesSomeKnownEnumValuesWithDefault
5549
// ReSharper disable AsyncVoidMethod

0 commit comments

Comments
 (0)