bitwarden-android/src/App/Pages/SettingsPageViewModel.cs

23 lines
640 B
C#
Raw Normal View History

2019-03-29 06:52:33 +03:00
using System;
using System.Collections.Generic;
using System.Text;
2019-04-05 23:13:17 +03:00
using System.Windows.Input;
using Xamarin.Forms;
2019-03-29 06:52:33 +03:00
namespace Bit.App.Pages
{
public class SettingsPageViewModel : BaseViewModel
{
public SettingsPageViewModel()
{
PageTitle = "Settings";
2019-04-05 23:13:17 +03:00
ButtonCommand = new Command(() => Page.DisplayAlert("Button 1 Command", "Button 1 message", "Cancel"));
Button2Command = new Command(() => Page.DisplayAlert("Button 2 Command", "Button 2 message", "Cancel"));
2019-03-29 06:52:33 +03:00
}
2019-04-05 23:13:17 +03:00
public ICommand ButtonCommand { get; }
public ICommand Button2Command { get; }
2019-03-29 06:52:33 +03:00
}
}