mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-05-10 01:57:43 +02:00
28 lines
656 B
C#
28 lines
656 B
C#
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 = [];
|
|
LostProfiles = [];
|
|
IsEmpty = !LostProfiles.Any();
|
|
}
|
|
|
|
public ObservableCollection<BaseModel> Profiles { get; set; }
|
|
|
|
public ObservableCollection<UserProfile> LostProfiles { get; set; }
|
|
|
|
public bool IsEmpty { get; set; }
|
|
|
|
public void Dispose()
|
|
{
|
|
GC.SuppressFinalize(this);
|
|
}
|
|
}
|
|
}
|