From 56961c70103bf53955e3d73623cb588cf8761750 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Wed, 18 Jun 2025 21:12:03 -0400 Subject: [PATCH] fix pinned streams not showing in other lists --- lib/screens/home/stream_list/streams_list.dart | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/screens/home/stream_list/streams_list.dart b/lib/screens/home/stream_list/streams_list.dart index 91e1c1c1..4028b162 100644 --- a/lib/screens/home/stream_list/streams_list.dart +++ b/lib/screens/home/stream_list/streams_list.dart @@ -130,12 +130,14 @@ class _StreamsListState extends State final settingsStore = context.watch(); - final unpinnedStreams = _listStore.streams - .where( - (stream) => - !settingsStore.pinnedChannelIds.contains(stream.userId), - ) - .toList(); + final unpinnedStreams = widget.listType == ListType.followed + ? _listStore.streams + .where( + (stream) => + !settingsStore.pinnedChannelIds.contains(stream.userId), + ) + .toList() + : _listStore.streams; final isFollowingTab = widget.listType == ListType.followed;