mirror of
https://github.com/bitwarden/mobile.git
synced 2025-01-26 21:51:34 +01:00
Hide label if no subtitle for Cipher (#1569)
This commit is contained in:
parent
faac7ebe5e
commit
69650a1ab5
@ -14,6 +14,7 @@
|
|||||||
<u:IconGlyphConverter x:Key="iconGlyphConverter"/>
|
<u:IconGlyphConverter x:Key="iconGlyphConverter"/>
|
||||||
<u:IconImageConverter x:Key="iconImageConverter"/>
|
<u:IconImageConverter x:Key="iconImageConverter"/>
|
||||||
<u:InverseBoolConverter x:Key="inverseBool" />
|
<u:InverseBoolConverter x:Key="inverseBool" />
|
||||||
|
<u:StringHasValueConverter x:Key="stringHasValueConverter" />
|
||||||
</Grid.Resources>
|
</Grid.Resources>
|
||||||
|
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
@ -72,7 +73,9 @@
|
|||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Grid.ColumnSpan="3"
|
Grid.ColumnSpan="3"
|
||||||
StyleClass="list-subtitle, list-subtitle-platform"
|
StyleClass="list-subtitle, list-subtitle-platform"
|
||||||
Text="{Binding Cipher.SubTitle}" />
|
Text="{Binding Cipher.SubTitle}"
|
||||||
|
IsVisible="{Binding Source={RelativeSource Self}, Path=Text,
|
||||||
|
Converter={StaticResource stringHasValueConverter}}"/>
|
||||||
<controls:FaLabel
|
<controls:FaLabel
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
|
Loading…
Reference in New Issue
Block a user