mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-03 18:17:47 +01:00
Don't focus fields if coming from register page so that they can see toast.
This commit is contained in:
parent
7de33d1c60
commit
638b3288b4
@ -128,13 +128,16 @@ namespace Bit.App.Pages
|
||||
base.OnAppearing();
|
||||
MessagingCenter.Send(Application.Current, "ShowStatusBar", true);
|
||||
|
||||
if(!string.IsNullOrWhiteSpace(EmailCell.Entry.Text))
|
||||
if(string.IsNullOrWhiteSpace(_email))
|
||||
{
|
||||
PasswordCell.Entry.Focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
EmailCell.Entry.Focus();
|
||||
if(!string.IsNullOrWhiteSpace(EmailCell.Entry.Text))
|
||||
{
|
||||
PasswordCell.Entry.Focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
EmailCell.Entry.Focus();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user