Skip to content

Commit

Permalink
Fix Back Button Visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost1372 committed May 10, 2021
1 parent 2ddcc25 commit 100847d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: "Publish"

on: workflow_dispatch
on:
push:
tags:
- "v*"

env:
PROJECT_PATH: src/HandyWinget/HandyWinget.csproj
Expand Down
2 changes: 1 addition & 1 deletion src/HandyWinget/Views/General.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

<ToggleButton x:Name="tgSaveDGColumnWidth" Style="{StaticResource ToggleButtonSwitch}" HorizontalAlignment="Left" Margin="10" Content="Save and Restore DataGrid Columns Width" Checked="tgSaveDGColumnWidth_Checked" Unchecked="tgSaveDGColumnWidth_Checked" />

<ToggleButton x:Name="tgIsBackEnabled" Style="{StaticResource ToggleButtonSwitch}" HorizontalAlignment="Left" Margin="10" Content="Show Back Button for Navigation" Checked="tgIsBackEnabled_Checked" Unchecked="tgIsBackEnabled_Checked" />
<ToggleButton x:Name="tgIsBackEnabled" Style="{StaticResource ToggleButtonSwitch}" HorizontalAlignment="Left" Margin="10,0" Content="Show Back Button for Navigation" Checked="tgIsBackEnabled_Checked" Unchecked="tgIsBackEnabled_Checked" />

<Button Click="ResetAccent_Click" Style="{StaticResource DefaultButtonStyle}" Content="Reset Accent Color" Margin="0,20"/>
</StackPanel>
Expand Down
1 change: 1 addition & 0 deletions src/HandyWinget/Views/General.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ private void LoadInitialSettings()
tgGroup.IsChecked = Settings.GroupByPublisher;
tgSaveDGColumnWidth.IsChecked = Settings.IsStoreDataGridColumnWidth;
tgAutoRefresh.IsChecked = Settings.AutoRefreshInStartup;
tgIsBackEnabled.IsChecked = Settings.IsBackEnabled;
cmbDetails.SelectedItem = Settings.ShowExtraDetails;
currentVersion.Text = $"Current Version {Version}";
}
Expand Down

0 comments on commit 100847d

Please sign in to comment.