Don't focus fields if coming from register page so that they can see toast.

This commit is contained in:
Kyle Spearrin 2016-08-06 13:14:58 -04:00
parent 7de33d1c60
commit 638b3288b4
1 changed files with 9 additions and 6 deletions

View File

@ -128,6 +128,8 @@ namespace Bit.App.Pages
base.OnAppearing();
MessagingCenter.Send(Application.Current, "ShowStatusBar", true);
if(string.IsNullOrWhiteSpace(_email))
{
if(!string.IsNullOrWhiteSpace(EmailCell.Entry.Text))
{
PasswordCell.Entry.Focus();
@ -137,6 +139,7 @@ namespace Bit.App.Pages
EmailCell.Entry.Focus();
}
}
}
private async void Entry_Completed(object sender, EventArgs e)
{