mirror of
https://github.com/bitwarden/mobile
synced 2025-12-22 03:03:46 +00:00
setup lock pin page
This commit is contained in:
39
src/App/Models/Page/PinPageModel.cs
Normal file
39
src/App/Models/Page/PinPageModel.cs
Normal file
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace Bit.App.Models.Page
|
||||
{
|
||||
public class PinPageModel : INotifyPropertyChanged
|
||||
{
|
||||
private string _labelText;
|
||||
private List<string> _pin;
|
||||
|
||||
public PinPageModel()
|
||||
{
|
||||
LabelText = "_ _ _ _";
|
||||
PIN = new List<string>();
|
||||
}
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
public string LabelText
|
||||
{
|
||||
get { return _labelText; }
|
||||
set
|
||||
{
|
||||
_labelText = value;
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(nameof(LabelText)));
|
||||
}
|
||||
}
|
||||
public List<string> PIN
|
||||
{
|
||||
get { return _pin; }
|
||||
set
|
||||
{
|
||||
_pin = value;
|
||||
PropertyChanged(this, new PropertyChangedEventArgs(nameof(PIN)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user