diff --git a/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs b/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs index 6147bf51d..0cfdf576e 100644 --- a/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs +++ b/src/BiliLite.UWP/Controls/DataTemplateSelectors/UserDynamicItemV2DataTemplateSelector.cs @@ -20,6 +20,7 @@ static UserDynamicItemV2DataTemplateSelector() { Constants.DynamicTypes.DRAW, (selector, model) => { + if (model.Dynamic == null) return selector.OtherTemplate; if (model.Dynamic.DynDraw.Items.Count == 1) { return selector.Draw1x1Template;