Skip to content

Commit 11f159f

Browse files
committed
Allow the new operation history to be the startup page
1 parent f3e8d49 commit 11f159f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/UniGetUI/Pages/MainView.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ public void LoadDefaultPage()
139139
"installed" => PageType.Installed,
140140
"bundles" => PageType.Bundles,
141141
"settings" => PageType.Settings,
142+
"ophist" => PageType.AdvancedOperationHistory,
142143
_ => MainApp.Tooltip.AvailableUpdates > 0 ? PageType.Updates : PageType.Discover
143144
};
144145
NavigateTo(type);

src/UniGetUI/Pages/SettingsPage.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ public SettingsPage()
103103
StartupPageSelector.AddItem(CoreTools.AutoTranslated("Installed Packages"), "installed");
104104
StartupPageSelector.AddItem(CoreTools.AutoTranslated("Package Bundles"), "bundles");
105105
StartupPageSelector.AddItem(CoreTools.AutoTranslated("Settings"), "settings");
106+
StartupPageSelector.AddItem(CoreTools.AutoTranslated("Operation History"), "ophist");
106107
StartupPageSelector.ShowAddedItems();
107108

108109
for (int i = 1; i <= 10; i++)

0 commit comments

Comments
 (0)