mirror of
https://github.com/bitwarden/mobile
synced 2026-01-04 17:43:17 +00:00
Don't focus fields if coming from register page so that they can see toast.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user