Skip to content

Commit

Permalink
Remove last item from history after refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
gablm committed Dec 3, 2023
1 parent aa4356a commit 787efd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CollapseLauncher/XAMLs/MainApp/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,8 @@ private void RefreshPage_Invoked(KeyboardAccelerator sender, KeyboardAccelerator
string Tag = PreviousTag;
PreviousTag = "Empty";
NavigateInnerSwitch(Tag);
LauncherFrame.BackStack.RemoveAt(LauncherFrame.BackStack.Count - 1);
PreviousTagString.RemoveAt(PreviousTagString.Count - 1);
return;
}
}
Expand Down
2 changes: 1 addition & 1 deletion Hi3Helper.Core/Lang/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@
"Switch_ChangeRegion": "Change region",
"Switch_ChangeRegion_Desc": "E.g. For Genshin Impact, {0}+1 leads to the Global region.",
"Switch_ReloadRegion": "Reload current page",
"Switch_ReloadRegion_Desc": "Tip: Pressing F5 is an alternative to this shortcut.",
"Switch_ReloadRegion_Desc": "Pressing F5 is an alternative to this shortcut.",

"GameFolder_Title": "Game Folder Access",
"GameFolder_ScreenshotFolder": "Open the Screenshot folder",
Expand Down

0 comments on commit 787efd5

Please sign in to comment.