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(