bitwarden-android/src/App/Pages/Accounts/EnvironmentPage.xaml.cs

25 lines
528 B
C#
Raw Normal View History

2019-05-02 19:20:56 +03:00
using System;
namespace Bit.App.Pages
{
public partial class EnvironmentPage : BaseContentPage
{
private EnvironmentPageViewModel _vm;
public EnvironmentPage()
{
InitializeComponent();
_vm = BindingContext as EnvironmentPageViewModel;
_vm.Page = this;
}
private async void Submit_Clicked(object sender, EventArgs e)
{
2019-05-07 06:30:54 +03:00
if(DoOnce())
{
await _vm.SubmitAsync();
}
2019-05-02 19:20:56 +03:00
}
}
}