mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
24 lines
464 B
C#
24 lines
464 B
C#
using Artemis.UI.Shared;
|
|
using Material.Icons;
|
|
|
|
namespace Artemis.UI.Screens.Sidebar;
|
|
|
|
public class ProfileIconViewModel : ViewModelBase
|
|
{
|
|
private MaterialIconKind _icon;
|
|
|
|
public ProfileIconViewModel(MaterialIconKind icon)
|
|
{
|
|
Icon = icon;
|
|
}
|
|
|
|
public MaterialIconKind Icon
|
|
{
|
|
get => _icon;
|
|
set
|
|
{
|
|
RaiseAndSetIfChanged(ref _icon, value);
|
|
DisplayName = _icon.ToString();
|
|
}
|
|
}
|
|
} |