Skip to content

Commit 1667fc0

Browse files
committed
Muted streams sorted as per the web app
1 parent 6c532de commit 1667fc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/streams/SubscriptionsScreen.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export default function SubscriptionsScreen(props: Props): Node {
6060
.sort((a, b) => caseInsensitiveCompareFunc(a.name, b.name));
6161
return [
6262
{ key: 'Pinned', data: sortedSubscriptions.filter(x => x.pin_to_top) },
63-
{ key: 'Unpinned', data: sortedSubscriptions.filter(x => !x.pin_to_top) },
63+
{ key: 'Unpinned', data: sortedSubscriptions.filter(x => !x.pin_to_top && x.in_home_view) },
64+
{ key: 'muted', data: sortedSubscriptions.filter(x => !x.in_home_view) },
6465
];
6566
}, [subscriptions]);
6667

0 commit comments

Comments
 (0)