Skip to content

Commit

Permalink
RL-291
Browse files Browse the repository at this point in the history
  • Loading branch information
Nice3point committed Sep 24, 2024
1 parent 77a7dde commit 6754fbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
Geometry="M159.1 110.6C94.1 204.3 -147.8 214.7 -203.8 126.1C-259.8 37.5 -129.9 -150 -8.9 -155.2C112 -160.3 224 16.8 159.1 110.6">
<GeometryDrawing.Pen>
<Pen
Brush="{DynamicResource ControlStrokeColorTertiaryBrush}"
Brush="{DynamicResource TextFillColorPrimaryBrush}"
Thickness="1" />
</GeometryDrawing.Pen>
</GeometryDrawing>
Expand All @@ -36,19 +36,10 @@
Margin="0 40 0 0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
TextElement.FontSize="24"
TextElement.FontWeight="Medium"
TextElement.Foreground="{DynamicResource TextFillColorPrimaryBrush}"
Content="{TemplateBinding Content}">
<ContentPresenter.Resources>
<Style
TargetType="{x:Type TextBlock}"
BasedOn="{StaticResource {x:Type TextBlock}}">
<Setter
Property="FontSize"
Value="24" />
<Setter
Property="FontWeight"
Value="Medium" />
</Style>
</ContentPresenter.Resources>
</ContentPresenter>
</Grid>
</ControlTemplate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public object Convert(object[] values, Type targetType, object parameter, Cultur
if (items.Count > 0) return Visibility.Collapsed;

if (values[1]! is > 0) return Visibility.Collapsed;
if (values[1]! is string {Length: 0}) return Visibility.Collapsed;
if (values[2]! is false) return Visibility.Collapsed;

return Visibility.Visible;
Expand Down

0 comments on commit 6754fbc

Please sign in to comment.