mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
try 1s delay on search to stop crashing
This commit is contained in:
parent
fa5c8c2c75
commit
a2bedaab8a
2 changed files with 1 additions and 8 deletions
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue