diff --git a/src/UniGetUI/App.xaml.cs b/src/UniGetUI/App.xaml.cs index 33540ce2b7..5b4631ddc0 100644 --- a/src/UniGetUI/App.xaml.cs +++ b/src/UniGetUI/App.xaml.cs @@ -299,16 +299,17 @@ private async Task LoadComponentsAsync() // Create MainWindow InitializeMainWindow(); - await MainWindow.DoEntryTextAnimationAsync(); + + _ = MainWindow.DoEntryTextAnimationAsync(); IEnumerable iniTasks = [ + Task.Run(PEInterface.LoadManagers), // Takes most of the time Task.Run(SetUpWebViewUserDataFolder), Task.Run(IconDatabase.Instance.LoadFromCacheAsync), Task.Run(RegisterNotificationService), Task.Run(LoadGSudo), Task.Run(InitializeBackgroundAPI), - Task.Run(PEInterface.LoadManagers), ]; // Load essential components diff --git a/src/UniGetUI/MainWindow.xaml b/src/UniGetUI/MainWindow.xaml index df0d67531a..4c7d4b6484 100644 --- a/src/UniGetUI/MainWindow.xaml +++ b/src/UniGetUI/MainWindow.xaml @@ -188,7 +188,7 @@ VerticalAlignment="Bottom" Foreground="#08a9c3" IsIndeterminate="True" - Visibility="Visible" /> + Visibility="Collapsed" />