mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 18:08:26 +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;
|
return;
|
||||||
}
|
}
|
||||||
_vm.Search(e.NewTextValue, 300);
|
_vm.Search(e.NewTextValue, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SearchBar_SearchButtonPressed(object sender, EventArgs e)
|
private void SearchBar_SearchButtonPressed(object sender, EventArgs e)
|
||||||
|
|
|
@ -22,7 +22,6 @@ namespace Bit.App.Pages
|
||||||
private readonly IDeviceActionService _deviceActionService;
|
private readonly IDeviceActionService _deviceActionService;
|
||||||
private CancellationTokenSource _searchCancellationTokenSource;
|
private CancellationTokenSource _searchCancellationTokenSource;
|
||||||
|
|
||||||
private string _searchText;
|
|
||||||
private bool _showNoData;
|
private bool _showNoData;
|
||||||
private bool _showList;
|
private bool _showList;
|
||||||
|
|
||||||
|
@ -42,12 +41,6 @@ namespace Bit.App.Pages
|
||||||
public Func<CipherView, bool> Filter { get; set; }
|
public Func<CipherView, bool> Filter { get; set; }
|
||||||
public string AutofillUrl { get; set; }
|
public string AutofillUrl { get; set; }
|
||||||
|
|
||||||
public string SearchText
|
|
||||||
{
|
|
||||||
get => _searchText;
|
|
||||||
set => SetProperty(ref _searchText, value);
|
|
||||||
}
|
|
||||||
|
|
||||||
public bool ShowNoData
|
public bool ShowNoData
|
||||||
{
|
{
|
||||||
get => _showNoData;
|
get => _showNoData;
|
||||||
|
|
Loading…
Reference in a new issue