Thread muting [APP-29] (#500)

* Implement thread muting

* Apply filtering on background fetched notifs

* Implement thread-muting tests
This commit is contained in:
Paul Frazee 2023-04-20 17:16:56 -05:00 committed by GitHub
parent 3e78c71018
commit 22884b53ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 470 additions and 108 deletions

View file

@ -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>
)
})