Skip to content

Commit

Permalink
invalid level showing
Browse files Browse the repository at this point in the history
  • Loading branch information
sahin-a committed Mar 12, 2023
1 parent 8741173 commit ac07490
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions SteamAccountManager.AvaloniaUI/Views/AccountSwitcherView.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@
<Grid Grid.Column="2" HorizontalAlignment="Right"
IsVisible="{Binding Path=DataContext.Config.ShowLevel,
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}}">
<Ellipse Width="40" Height="40" Stroke="{Binding Rank.Color}" StrokeThickness="2"
VerticalAlignment="Center" HorizontalAlignment="Left" />
<TextBlock Text="{Binding Rank.Level}" VerticalAlignment="Center"
HorizontalAlignment="Center" />
<Panel IsVisible="{Binding ShowLevel}">
<Ellipse Width="40" Height="40" Stroke="{Binding Rank.Color}" StrokeThickness="2"
VerticalAlignment="Center" HorizontalAlignment="Left" />
<TextBlock Text="{Binding Rank.Level}" VerticalAlignment="Center"
HorizontalAlignment="Center" />
</Panel>
</Grid>
</Grid>
</DataTemplate>
Expand Down

0 comments on commit ac07490

Please sign in to comment.