mirror of
https://github.com/bitwarden/mobile
synced 2025-12-10 13:23:39 +00:00
try 1s delay on search to stop crashing
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user