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:
parent
fa5c8c2c75
commit
a2bedaab8a
@ -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 New Issue
Block a user