mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 18:23:51 +00:00
cell buttons
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Windows.Input;
|
||||
using Xamarin.Forms;
|
||||
|
||||
namespace Bit.App.Pages
|
||||
{
|
||||
@@ -9,6 +11,12 @@ namespace Bit.App.Pages
|
||||
public SettingsPageViewModel()
|
||||
{
|
||||
PageTitle = "Settings";
|
||||
|
||||
ButtonCommand = new Command(() => Page.DisplayAlert("Button 1 Command", "Button 1 message", "Cancel"));
|
||||
Button2Command = new Command(() => Page.DisplayAlert("Button 2 Command", "Button 2 message", "Cancel"));
|
||||
}
|
||||
|
||||
public ICommand ButtonCommand { get; }
|
||||
public ICommand Button2Command { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user