diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-20 17:16:56 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-20 17:16:56 -0500 |
commit | 22884b53ad4daa2932aa8ed34fc5d5b928f8094d (patch) | |
tree | 15319118bfc342d63c9f320b0f2e4f6cc13fc79a /src/view/com/notifications/Feed.tsx | |
parent | 3e78c7101815985241b2631432a023dc8f70d82e (diff) | |
download | voidsky-22884b53ad4daa2932aa8ed34fc5d5b928f8094d.tar.zst |
Thread muting [APP-29] (#500)
* Implement thread muting * Apply filtering on background fetched notifs * Implement thread-muting tests
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index 33bde1955..50bdc5dc9 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -135,8 +135,9 @@ export const Feed = observer(function Feed({ /> )} </CenteredView> - {data.length && ( + {data.length ? ( <FlatList + testID="notifsFeed" ref={scrollElRef} data={data} keyExtractor={item => item._reactKey} @@ -155,7 +156,7 @@ export const Feed = observer(function Feed({ onScroll={onScroll} contentContainerStyle={s.contentContainer} /> - )} + ) : null} </View> ) }) |