diff --git a/Pixiview/Illust/RankingPage.xaml.cs b/Pixiview/Illust/RankingPage.xaml.cs index 234ab49..0076bd7 100644 --- a/Pixiview/Illust/RankingPage.xaml.cs +++ b/Pixiview/Illust/RankingPage.xaml.cs @@ -148,6 +148,10 @@ namespace Pixiview.Illust protected override IEnumerable DoGetIllustList(IllustRankingData data) { + if (lastQueryKey != null && lastQueryKey.StartsWith(segmentDates[3])) + { + return data.contents.Where(i => i.illust_type == "0").Select(i => i.ConvertToItem()); + } return data.contents.Select(i => i.ConvertToItem()); } diff --git a/Pixiview/Illust/ViewIllustPage.xaml b/Pixiview/Illust/ViewIllustPage.xaml index 39fadf1..8ffad30 100644 --- a/Pixiview/Illust/ViewIllustPage.xaml +++ b/Pixiview/Illust/ViewIllustPage.xaml @@ -6,8 +6,7 @@ x:Class="Pixiview.Illust.ViewIllustPage" ios:Page.UseSafeArea="False" Shell.TabBarIsVisible="False" - BackgroundColor="{DynamicResource WindowColor}" - Title="{Binding IllustItem.Title}"> + BackgroundColor="{DynamicResource WindowColor}"> diff --git a/Pixiview/Illust/ViewIllustPage.xaml.cs b/Pixiview/Illust/ViewIllustPage.xaml.cs index d14b704..ae86fc1 100644 --- a/Pixiview/Illust/ViewIllustPage.xaml.cs +++ b/Pixiview/Illust/ViewIllustPage.xaml.cs @@ -113,6 +113,7 @@ namespace Pixiview.Illust public ViewIllustPage(IllustItem illust, bool save) { IllustItem = illust; + Title = illust.Title; saveFavorites = save; BindingContext = this; @@ -345,6 +346,7 @@ namespace Pixiview.Illust if (preload != null && preload.illust.TryGetValue(illustItem.Id, out var illust)) { illust.CopyToItem(illustItem); + MainThread.BeginInvokeOnMainThread(() => Title = illustItem.Title); if (preload.user.TryGetValue(illust.userId, out var user)) { illustItem.ProfileUrl = user.image;