diff --git a/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs index 35b9ca185..80436a892 100644 --- a/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs +++ b/src/Ryujinx.UI.Common/App/ApplicationLibrary.cs @@ -549,7 +549,7 @@ namespace Ryujinx.UI.App.Common { Logger.Warning?.Print(LogClass.Application, $"The file encountered was not of a valid type. File: '{filePath}' Error: {exception}"); } - + return false; } diff --git a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs index c0c451134..36811a548 100644 --- a/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs +++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationFileFormat.cs @@ -261,7 +261,7 @@ namespace Ryujinx.UI.Common.Configuration /// A list of directories containing games to be used to load games into the games list /// public List GameDirs { get; set; } - + /// /// A list of directories containing DLC/updates the user wants to autoload during library refreshes /// diff --git a/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs index 7a05498bd..2cb814afa 100644 --- a/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs +++ b/src/Ryujinx.UI.Common/Configuration/ConfigurationState.cs @@ -121,7 +121,7 @@ namespace Ryujinx.UI.Common.Configuration /// A list of directories containing games to be used to load games into the games list /// public ReactiveObject> GameDirs { get; private set; } - + /// /// A list of directories containing DLC/updates the user wants to autoload during library refreshes /// diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs index 51cd8592b..c9b645a5c 100644 --- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs @@ -116,7 +116,7 @@ namespace Ryujinx.Ava.UI.ViewModels public MainWindowViewModel() { Applications = new ObservableCollectionExtended(); - + Applications.ToObservableChangeSet() .Filter(Filter) .Sort(GetComparer()) @@ -1263,7 +1263,8 @@ namespace Ryujinx.Ava.UI.ViewModels { var result = await StorageProvider.OpenFolderPickerAsync(new FolderPickerOpenOptions { - Title = LocaleManager.Instance[LocaleKeys.OpenFolderDialogTitle], AllowMultiple = true, + Title = LocaleManager.Instance[LocaleKeys.OpenFolderDialogTitle], + AllowMultiple = true, }); if (result.Count > 0) diff --git a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs index bfcf5bdfc..717d3b0ac 100644 --- a/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/SettingsViewModel.cs @@ -126,7 +126,7 @@ namespace Ryujinx.Ava.UI.ViewModels OnPropertyChanged(); } } - + public bool AutoloadDirectoryChanged { get => _autoloadDirectoryChanged; @@ -410,7 +410,7 @@ namespace Ryujinx.Ava.UI.ViewModels GameDirectories.Clear(); GameDirectories.AddRange(config.UI.GameDirs.Value); - + AutoloadDirectories.Clear(); AutoloadDirectories.AddRange(config.UI.AutoloadDirs.Value); @@ -508,7 +508,7 @@ namespace Ryujinx.Ava.UI.ViewModels List gameDirs = new(GameDirectories); config.UI.GameDirs.Value = gameDirs; } - + if (_autoloadDirectoryChanged) { List autoloadDirs = new(AutoloadDirectories); diff --git a/src/Ryujinx/UI/Views/Main/MainStatusBarView.axaml.cs b/src/Ryujinx/UI/Views/Main/MainStatusBarView.axaml.cs index 18d0f1a48..528495713 100644 --- a/src/Ryujinx/UI/Views/Main/MainStatusBarView.axaml.cs +++ b/src/Ryujinx/UI/Views/Main/MainStatusBarView.axaml.cs @@ -53,7 +53,7 @@ namespace Ryujinx.Ava.UI.Views.Main { Window.LoadApplications(); } - + private void VolumeStatus_OnPointerWheelChanged(object sender, PointerWheelEventArgs e) { // Change the volume by 5% at a time diff --git a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs index 70ca32306..34ddce071 100644 --- a/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs +++ b/src/Ryujinx/UI/Views/Settings/SettingsUIView.axaml.cs @@ -61,7 +61,7 @@ namespace Ryujinx.Ava.UI.Views.Settings GameDirsList.SelectedIndex = oldIndex < GameDirsList.ItemCount ? oldIndex : 0; } } - + private async void AddAutoloadDirButton_OnClick(object sender, RoutedEventArgs e) { string path = AutoloadDirPathBox.Text;