From 69650a1ab501e99cd7955aac44adacd15af0428b Mon Sep 17 00:00:00 2001 From: Jake Fink Date: Fri, 8 Oct 2021 12:09:26 -0400 Subject: [PATCH] Hide label if no subtitle for Cipher (#1569) --- src/App/Controls/CipherViewCell/CipherViewCell.xaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/App/Controls/CipherViewCell/CipherViewCell.xaml b/src/App/Controls/CipherViewCell/CipherViewCell.xaml index e7ac7ab5d..905424ccb 100644 --- a/src/App/Controls/CipherViewCell/CipherViewCell.xaml +++ b/src/App/Controls/CipherViewCell/CipherViewCell.xaml @@ -14,6 +14,7 @@ + @@ -72,7 +73,9 @@ Grid.Row="1" Grid.ColumnSpan="3" StyleClass="list-subtitle, list-subtitle-platform" - Text="{Binding Cipher.SubTitle}" /> + Text="{Binding Cipher.SubTitle}" + IsVisible="{Binding Source={RelativeSource Self}, Path=Text, + Converter={StaticResource stringHasValueConverter}}"/>