refresh search on appear if has text

This commit is contained in:
Kyle Spearrin 2019-07-06 22:19:29 -04:00
parent 65725b5a38
commit cf35d20adb

View file

@ -75,6 +75,10 @@ namespace Bit.App.Pages
{
WebsiteIconsEnabled = !(await _stateService.GetAsync<bool?>(Constants.DisableFaviconKey))
.GetValueOrDefault();
if(!string.IsNullOrWhiteSpace((Page as CiphersPage).SearchBar.Text))
{
Search((Page as CiphersPage).SearchBar.Text, 500);
}
}
public void Search(string searchText, int? timeout = null)