Skip to content

Commit

Permalink
fix the animation of game changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Scighost committed Dec 31, 2023
1 parent 22fb717 commit e745ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Starward/Pages/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ public void OnLanguageChanged(object? sender, LanguageChangedMessage message)
private GameBiz currentGameBiz = AppConfig.GetLastRegionOfGame(GameBiz.None);
partial void OnCurrentGameBizChanged(GameBiz oldValue, GameBiz newValue)
{
lastGameBiz = oldValue;
AppConfig.SetLastRegionOfGame(GameBiz.None, newValue);
AppConfig.SetLastRegionOfGame(newValue.ToGame(), newValue);
}
Expand Down Expand Up @@ -215,6 +214,7 @@ private void ChangeGameBiz(GameBiz biz)
biz = b;
}
}
lastGameBiz = CurrentGameBiz;
CurrentGameBiz = biz;
UpdateGameIcon();
UpdateNavigationViewItemsText();
Expand Down

0 comments on commit e745ab0

Please sign in to comment.