Skip to content

Commit

Permalink
Fixed missing navbar button highlight on Favorites page
Browse files Browse the repository at this point in the history
  • Loading branch information
lpeyr committed Dec 8, 2023
1 parent 470b9c9 commit 153f289
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Gavilya/Components/NavBarComponent.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
FontFamily="..\Fonts\#FluentSystemIcons-Filled"
FontSize="18"
Foreground="{DynamicResource Foreground}"
IsChecked="{Binding IsFavorite}"
IsChecked="{Binding IsFavorites}"
Style="{DynamicResource NavBarBtn}">
<RadioButton.ToolTip>
<ToolTip
Expand Down Expand Up @@ -128,13 +128,13 @@
Background="Transparent"
BorderThickness="2 0 0 0"
Command="{Binding ProfilePageCommand}"
Content="&#xF5C7;"
Cursor="Hand"
FontFamily="..\Fonts\#FluentSystemIcons-Filled"
FontSize="18"
Foreground="{DynamicResource Foreground}"
IsChecked="{Binding IsProfile}"
Style="{DynamicResource NavBarBtn}"
Content="&#xF5C7;">
Style="{DynamicResource NavBarBtn}">
<RadioButton.ToolTip>
<ToolTip
Background="{DynamicResource Background}"
Expand Down Expand Up @@ -298,16 +298,16 @@
Text="&#xF4E0;"
TextAlignment="Center">
<TextBlock.RenderTransform>
<TranslateTransform Y="30"/>
<TranslateTransform Y="30" />
</TextBlock.RenderTransform>
</TextBlock>


<RadioButton
x:Name="SettingsBtn"
Grid.Row="8"
Height="40"
Width="40"
Height="40"
HorizontalContentAlignment="Center"
Background="Transparent"
BorderThickness="2 0 0 0"
Expand All @@ -320,11 +320,14 @@
Style="{DynamicResource NavBarBtn}">

<RadioButton.RenderTransform>
<TranslateTransform Y="-12"/>
<TranslateTransform Y="-12" />
</RadioButton.RenderTransform>

<RadioButton.ToolTip>
<ToolTip Background="{DynamicResource Background}" Content="{x:Static lang:Resources.RecentGames}" Foreground="{DynamicResource Foreground}" />
<ToolTip
Background="{DynamicResource Background}"
Content="{x:Static lang:Resources.RecentGames}"
Foreground="{DynamicResource Foreground}" />
</RadioButton.ToolTip>
</RadioButton>
</Grid>
Expand Down

0 comments on commit 153f289

Please sign in to comment.