Skip to content

Commit 100847d

Browse files
committed
Fix Back Button Visibility
1 parent 2ddcc25 commit 100847d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: "Publish"
22

3-
on: workflow_dispatch
3+
on:
4+
push:
5+
tags:
6+
- "v*"
47

58
env:
69
PROJECT_PATH: src/HandyWinget/HandyWinget.csproj

src/HandyWinget/Views/General.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

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

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

3737
<Button Click="ResetAccent_Click" Style="{StaticResource DefaultButtonStyle}" Content="Reset Accent Color" Margin="0,20"/>
3838
</StackPanel>

src/HandyWinget/Views/General.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ private void LoadInitialSettings()
4444
tgGroup.IsChecked = Settings.GroupByPublisher;
4545
tgSaveDGColumnWidth.IsChecked = Settings.IsStoreDataGridColumnWidth;
4646
tgAutoRefresh.IsChecked = Settings.AutoRefreshInStartup;
47+
tgIsBackEnabled.IsChecked = Settings.IsBackEnabled;
4748
cmbDetails.SelectedItem = Settings.ShowExtraDetails;
4849
currentVersion.Text = $"Current Version {Version}";
4950
}

0 commit comments

Comments
 (0)