diff --git a/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs b/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs index 6fdfc29a..6104b425 100644 --- a/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs +++ b/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs @@ -42,6 +42,7 @@ DataTemplate SelectRowTemplate(UserDynamicItemDataTemplateSelector selector, { Constants.DynamicTypes.CUSTOM_SEASON, (selector, model) => selector.CustomSeasonTemplate }, { Constants.DynamicTypes.CUSTOM_ARTICLE, (selector, model) => selector.CustomArticleTemplate }, { Constants.DynamicTypes.UGC_SEASON, (selector, model) => selector.UgcSeasonTemplate }, + { Constants.DynamicTypes.FOLD, (selector, model) => selector.FoldTemplate }, }; } @@ -71,6 +72,8 @@ DataTemplate SelectRowTemplate(UserDynamicItemDataTemplateSelector selector, public DataTemplate UgcSeasonTemplate { get; set; } + public DataTemplate FoldTemplate { get; set; } + public DataTemplate CustomSeasonTemplate { get; set; } public DataTemplate CustomArticleTemplate { get; set; } diff --git a/src/BiliLite.UWP/Controls/Dynamic/DynamicV2Template.xaml b/src/BiliLite.UWP/Controls/Dynamic/DynamicV2Template.xaml index 4aeac5dc..32588bf4 100644 --- a/src/BiliLite.UWP/Controls/Dynamic/DynamicV2Template.xaml +++ b/src/BiliLite.UWP/Controls/Dynamic/DynamicV2Template.xaml @@ -19,6 +19,7 @@ LiveRcmdTemplate="{StaticResource DynamicLiveRcmd}" LiveTemplate="{StaticResource DynamicLiveRcmd}" UgcSeasonTemplate="{StaticResource DynamicUgcSeason}" + FoldTemplate="{StaticResource DynamicFold}" CustomSeasonTemplate="{StaticResource DynamicCustomSeason}" CustomArticleTemplate="{StaticResource DynamicCustomArticle}"> @@ -387,6 +388,18 @@ + + + + + +