1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-16 00:03:22 +00:00

touch ups on two-factor page

This commit is contained in:
Kyle Spearrin
2019-05-28 09:04:20 -04:00
parent bf4f0bdba0
commit 29ab7f7a30
6 changed files with 46 additions and 15 deletions

View File

@@ -1,5 +1,6 @@
using Bit.App.Controls;
using System;
using System.Threading.Tasks;
namespace Bit.App.Pages
{
@@ -13,14 +14,19 @@ namespace Bit.App.Pages
_vm = BindingContext as TwoFactorPageViewModel;
_vm.Page = this;
DuoWebView = _duoWebView;
SetActivityIndicator();
}
public HybridWebView DuoWebView { get; set; }
protected override void OnAppearing()
protected async override void OnAppearing()
{
base.OnAppearing();
_vm.Init();
await LoadOnAppearedAsync(_scrollView, true, () =>
{
_vm.Init();
return Task.FromResult(0);
});
}
private async void Continue_Clicked(object sender, EventArgs e)