From 1a8c348af149274620ac9e2487c681f37d9673ab Mon Sep 17 00:00:00 2001 From: dom Date: Wed, 6 May 2026 12:11:00 +0800 Subject: [PATCH] fix pgc areas showing Signed-off-by: dom --- .../video/introduction/pgc/widgets/intro_detail.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/pages/video/introduction/pgc/widgets/intro_detail.dart b/lib/pages/video/introduction/pgc/widgets/intro_detail.dart index 514609431..a3beecb1f 100644 --- a/lib/pages/video/introduction/pgc/widgets/intro_detail.dart +++ b/lib/pages/video/introduction/pgc/widgets/intro_detail.dart @@ -147,17 +147,17 @@ class _IntroDetailState extends State ), const SizedBox(height: 4), Row( + spacing: 6, children: [ - Text( - widget.item.areas!.first.name!, - style: smallTitle, - ), - const SizedBox(width: 6), + if (widget.item.areas?.isNotEmpty ?? false) + Text( + widget.item.areas!.first.name!, + style: smallTitle, + ), Text( widget.item.publish!.pubTimeShow!, style: smallTitle, ), - const SizedBox(width: 6), Text( widget.item.newEp!.desc!, style: smallTitle,