mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-30 12:54:24 +01:00
always focus search bar on appear, resolves #521
This commit is contained in:
parent
a2d00c4057
commit
fa5c8c2c75
@ -51,12 +51,9 @@ namespace Bit.App.Pages
|
|||||||
if(!_hasFocused)
|
if(!_hasFocused)
|
||||||
{
|
{
|
||||||
_hasFocused = true;
|
_hasFocused = true;
|
||||||
if(string.IsNullOrWhiteSpace(_autofillUrl))
|
|
||||||
{
|
|
||||||
RequestFocus(_searchBar);
|
RequestFocus(_searchBar);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
private void SearchBar_TextChanged(object sender, TextChangedEventArgs e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user