focus search bar on appear

This commit is contained in:
Kyle Spearrin 2019-10-07 09:23:41 -04:00
parent 93b59a75a4
commit b0f86ea161

View file

@ -39,6 +39,12 @@ namespace Bit.iOS.Autofill
await ((TableSource)TableView.Source).LoadItemsAsync(false, SearchBar.Text); await ((TableSource)TableView.Source).LoadItemsAsync(false, SearchBar.Text);
} }
public override void ViewDidAppear(bool animated)
{
base.ViewDidAppear(animated);
SearchBar?.BecomeFirstResponder();
}
partial void CancelBarButton_Activated(UIBarButtonItem sender) partial void CancelBarButton_Activated(UIBarButtonItem sender)
{ {
if(FromList) if(FromList)