diff --git a/src/App/Pages/Vault/CiphersPage.xaml b/src/App/Pages/Vault/CiphersPage.xaml index d8ce22500..2040e8ca0 100644 --- a/src/App/Pages/Vault/CiphersPage.xaml +++ b/src/App/Pages/Vault/CiphersPage.xaml @@ -44,12 +44,19 @@ + + HorizontalTextAlignment="Center" /> _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; diff --git a/src/App/Styles/Base.xaml b/src/App/Styles/Base.xaml index bd17a9585..edc357536 100644 --- a/src/App/Styles/Base.xaml +++ b/src/App/Styles/Base.xaml @@ -21,7 +21,8 @@ Value="{StaticResource TextColor}" />