mirror of
https://github.com/bitwarden/android.git
synced 2025-03-07 15:06:02 +03: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
1 changed files with 9 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue