opt: dyn panel

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-08 16:42:18 +08:00
parent 26f921b7e4
commit bcd0d63db7
3 changed files with 22 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ class _DynTopicPageState extends State<DynTopicPage> {
_controller.onLoadMore();
}
final item = loadingState.response![index];
if (item.topicType != null) {
if (item.dynamicCardItem != null) {
return DynamicPanel(
item: item.dynamicCardItem!,
);