From d85c825737048b1e9824e6406e59c05b66f90fee Mon Sep 17 00:00:00 2001 From: Tsanie Lily Date: Sun, 17 May 2020 11:44:26 +0800 Subject: [PATCH] fix: change back to from #1 when switching mode --- Pixiview/Illust/RankingPage.xaml.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pixiview/Illust/RankingPage.xaml.cs b/Pixiview/Illust/RankingPage.xaml.cs index ecb94f7..6ab2307 100644 --- a/Pixiview/Illust/RankingPage.xaml.cs +++ b/Pixiview/Illust/RankingPage.xaml.cs @@ -357,6 +357,7 @@ namespace Pixiview.Illust { await ScrollToTopAsync(scrollView); // release + currentPage = 1; previousEnabled = false; dateEnabled = false; nextEnabled = false; @@ -366,8 +367,8 @@ namespace Pixiview.Illust private void ReleaseCollection() { - InvalidateCollection(); currentPage = 1; + InvalidateCollection(); } } }