From 57e963128339cf6cee80471d3407f796402416ac Mon Sep 17 00:00:00 2001 From: liang-work Date: Fri, 24 Apr 2026 19:50:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=20fix=20no=20display=20end=20bu?= =?UTF-8?q?tton=20while=20live=20stream=20started?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/creators/screens/livestream/livestream_list.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/creators/screens/livestream/livestream_list.dart b/lib/creators/screens/livestream/livestream_list.dart index ad883bbd0..cbfb3a522 100644 --- a/lib/creators/screens/livestream/livestream_list.dart +++ b/lib/creators/screens/livestream/livestream_list.dart @@ -483,7 +483,7 @@ class _CreatorLivestreamItem extends ConsumerWidget { ], ), ), - if (status.toLowerCase() != 'active') + if (stream.status != SnLiveStreamStatus.active) PopupMenuItem( value: 'start', child: Row( @@ -494,7 +494,7 @@ class _CreatorLivestreamItem extends ConsumerWidget { ], ), ), - if (status.toLowerCase() == 'active') + if (stream.status == SnLiveStreamStatus.active) PopupMenuItem( value: 'end', child: Row(