2017-10-01 08:48:29 -04:00
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using Windows.UI.Xaml;
|
|
|
|
|
|
2017-10-02 10:44:04 +02:00
|
|
|
|
namespace ModernKeePass.ViewModels
|
2017-09-29 17:23:35 -04:00
|
|
|
|
{
|
2017-10-02 10:44:04 +02:00
|
|
|
|
public class RecentItemVm: INotifyPropertyChanged
|
2017-09-29 17:23:35 -04:00
|
|
|
|
{
|
|
|
|
|
public string Token { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
2017-10-01 08:48:29 -04:00
|
|
|
|
public Visibility PasswordVisibility { get; set; } = Visibility.Collapsed;
|
|
|
|
|
|
|
|
|
|
public event PropertyChangedEventHandler PropertyChanged;
|
|
|
|
|
|
|
|
|
|
public void NotifyPropertyChanged(string propertyName)
|
|
|
|
|
{
|
|
|
|
|
PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
|
|
|
|
|
}
|
2017-09-29 17:23:35 -04:00
|
|
|
|
}
|
|
|
|
|
}
|