From 24856a0967ed34da576a4805982f95dd97e87798 Mon Sep 17 00:00:00 2001 From: Jacobwasbeast Date: Sat, 18 Jan 2025 18:43:24 -0600 Subject: [PATCH] My bad whoops --- src/Ryujinx/UI/Applet/UserSelectorDialog.axaml.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ryujinx/UI/Applet/UserSelectorDialog.axaml.cs b/src/Ryujinx/UI/Applet/UserSelectorDialog.axaml.cs index 6351e04d0..0a44742e5 100644 --- a/src/Ryujinx/UI/Applet/UserSelectorDialog.axaml.cs +++ b/src/Ryujinx/UI/Applet/UserSelectorDialog.axaml.cs @@ -78,7 +78,7 @@ namespace Ryujinx.Ava.UI.Applet _selectedUserId = userProfile.UserId; Logger.Info?.Print(LogClass.UI, $"Selected user: {userProfile.UserId}"); - var newProfiles = new ObservableCollection(); + ObservableCollection newProfiles = []; foreach (var item in Profiles) { @@ -105,7 +105,7 @@ namespace Ryujinx.Ava.UI.Applet { content._selectedUserId = accountManagerLastOpenedUser.UserId; - var contentDialog = new ContentDialog + ContentDialog contentDialog = new() { Title = LocaleManager.Instance[LocaleKeys.UserProfileWindowTitle], PrimaryButtonText = LocaleManager.Instance[LocaleKeys.Continue],