From 4a82c949afb3d29606264236e126344ac242d162 Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Sat, 28 Sep 2024 15:27:14 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20=E5=8A=A8=E6=80=81=E4=B8=93?= =?UTF-8?q?=E6=A0=8F=E9=87=8D=E5=A4=8D"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 71f35dbfa72c9e64dd9d55bda1dd17c83c2ae973. --- lib/pages/dynamics/widgets/article_panel.dart | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/lib/pages/dynamics/widgets/article_panel.dart b/lib/pages/dynamics/widgets/article_panel.dart index 73e26fda..c48c619f 100644 --- a/lib/pages/dynamics/widgets/article_panel.dart +++ b/lib/pages/dynamics/widgets/article_panel.dart @@ -33,25 +33,25 @@ Widget articlePanel(item, context, {floor = 1}) { ), const SizedBox(height: 8), ], - // Text( - // item.modules.moduleDynamic.major.opus.title, - // style: Theme.of(context) - // .textTheme - // .titleMedium! - // .copyWith(fontWeight: FontWeight.bold), - // ), - // const SizedBox(height: 2), - // if (item.modules.moduleDynamic.major.opus.summary.text != - // 'undefined') ...[ - // Text( - // item.modules.moduleDynamic.major.opus.summary.richTextNodes.first - // .text, - // maxLines: 4, - // style: const TextStyle(height: 1.55), - // overflow: TextOverflow.ellipsis, - // ), - // const SizedBox(height: 2), - // ], + Text( + item.modules.moduleDynamic.major.opus.title, + style: Theme.of(context) + .textTheme + .titleMedium! + .copyWith(fontWeight: FontWeight.bold), + ), + const SizedBox(height: 2), + if (item.modules.moduleDynamic.major.opus.summary.text != + 'undefined') ...[ + Text( + item.modules.moduleDynamic.major.opus.summary.richTextNodes.first + .text, + maxLines: 4, + style: const TextStyle(height: 1.55), + overflow: TextOverflow.ellipsis, + ), + const SizedBox(height: 2), + ], picWidget(item, context) ], ),