mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-03-12 01:21:07 +00:00
misc: chore: Use collection expressions in Avalonia project
This commit is contained in:
@@ -9,8 +9,8 @@ namespace Ryujinx.Ava.UI.ViewModels
|
||||
{
|
||||
public UserProfileViewModel()
|
||||
{
|
||||
Profiles = new ObservableCollection<BaseModel>();
|
||||
LostProfiles = new ObservableCollection<UserProfile>();
|
||||
Profiles = [];
|
||||
LostProfiles = [];
|
||||
IsEmpty = !LostProfiles.Any();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user