using Ryujinx.Ava.UI.Models; using System; using System.Collections.ObjectModel; using System.Linq; namespace Ryujinx.Ava.UI.ViewModels { public class UserProfileViewModel : BaseModel, IDisposable { public UserProfileViewModel() { Profiles = new ObservableCollection(); LostProfiles = new ObservableCollection(); IsEmpty = !LostProfiles.Any(); } public ObservableCollection Profiles { get; set; } public ObservableCollection LostProfiles { get; set; } public bool IsEmpty { get; set; } public void Dispose() { GC.SuppressFinalize(this); } } }