1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 07:43:37 +00:00

search icon

This commit is contained in:
Kyle Spearrin
2019-05-30 12:04:31 -04:00
parent c3b9f4e5a8
commit 21bbb2af42
3 changed files with 20 additions and 4 deletions

View File

@@ -51,15 +51,23 @@ namespace Bit.App.Pages
public bool ShowNoData
{
get => _showNoData;
set => SetProperty(ref _showNoData, value);
set => SetProperty(ref _showNoData, value, additionalPropertyNames: new string[]
{
nameof(ShowSearchDirection)
});
}
public bool ShowList
{
get => _showList;
set => SetProperty(ref _showList, value);
set => SetProperty(ref _showList, value, additionalPropertyNames: new string[]
{
nameof(ShowSearchDirection)
});
}
public bool ShowSearchDirection => !ShowList && !ShowNoData;
public void Search(string searchText, int? timeout = null)
{
var previousCts = _searchCancellationTokenSource;