mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +03:00
request focus on email field for hint page
This commit is contained in:
parent
b29ccf67b1
commit
dbc750b44e
2 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
||||||
Text="{u:I18n EmailAddress}"
|
Text="{u:I18n EmailAddress}"
|
||||||
StyleClass="box-label" />
|
StyleClass="box-label" />
|
||||||
<Entry
|
<Entry
|
||||||
|
x:Name="_email"
|
||||||
Text="{Binding Email}"
|
Text="{Binding Email}"
|
||||||
Keyboard="Email"
|
Keyboard="Email"
|
||||||
StyleClass="box-value"
|
StyleClass="box-value"
|
||||||
|
|
|
@ -13,6 +13,12 @@ namespace Bit.App.Pages
|
||||||
_vm.Page = this;
|
_vm.Page = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override void OnAppearing()
|
||||||
|
{
|
||||||
|
base.OnAppearing();
|
||||||
|
RequestFocus(_email);
|
||||||
|
}
|
||||||
|
|
||||||
private async void Submit_Clicked(object sender, EventArgs e)
|
private async void Submit_Clicked(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if(DoOnce())
|
if(DoOnce())
|
||||||
|
|
Loading…
Reference in a new issue