1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

try 1s delay on search to stop crashing

This commit is contained in:
Kyle Spearrin 2019-06-06 16:18:44 -04:00
parent fa5c8c2c75
commit a2bedaab8a
2 changed files with 1 additions and 8 deletions

View File

@ -63,7 +63,7 @@ namespace Bit.App.Pages
{
return;
}
_vm.Search(e.NewTextValue, 300);
_vm.Search(e.NewTextValue, 1000);
}
private void SearchBar_SearchButtonPressed(object sender, EventArgs e)

View File

@ -22,7 +22,6 @@ namespace Bit.App.Pages
private readonly IDeviceActionService _deviceActionService;
private CancellationTokenSource _searchCancellationTokenSource;
private string _searchText;
private bool _showNoData;
private bool _showList;
@ -42,12 +41,6 @@ namespace Bit.App.Pages
public Func<CipherView, bool> Filter { get; set; }
public string AutofillUrl { get; set; }
public string SearchText
{
get => _searchText;
set => SetProperty(ref _searchText, value);
}
public bool ShowNoData
{
get => _showNoData;