diff options
Diffstat (limited to 'src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs')
-rw-r--r-- | src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs index 134e9030..bd9f165b 100644 --- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs @@ -965,8 +965,8 @@ namespace Ryujinx.Ava.UI.ViewModels : SortExpressionComparer<ApplicationData>.Descending(app => app.FileSize), ApplicationSort.Path => IsAscending ? SortExpressionComparer<ApplicationData>.Ascending(app => app.Path) : SortExpressionComparer<ApplicationData>.Descending(app => app.Path), - ApplicationSort.Favorite => !IsAscending ? SortExpressionComparer<ApplicationData>.Ascending(app => app.Favorite) - : SortExpressionComparer<ApplicationData>.Descending(app => app.Favorite), + ApplicationSort.Favorite => IsAscending ? SortExpressionComparer<ApplicationData>.Ascending(app => new AppListFavoriteComparable(app)) + : SortExpressionComparer<ApplicationData>.Descending(app => new AppListFavoriteComparable(app)), _ => null, #pragma warning restore IDE0055 }; |