diff options
Diffstat (limited to 'src/view/com/notifications/Feed.tsx')
-rw-r--r-- | src/view/com/notifications/Feed.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/notifications/Feed.tsx b/src/view/com/notifications/Feed.tsx index 90d16604d..78dcd2fa8 100644 --- a/src/view/com/notifications/Feed.tsx +++ b/src/view/com/notifications/Feed.tsx @@ -32,7 +32,7 @@ export const Feed = observer(function Feed({ } return ( <View style={{flex: 1}}> - {view.isLoading && !view.isRefreshing && !view.hasContent && ( + {view.isLoading && !view.isRefreshing && ( <NotificationFeedLoadingPlaceholder /> )} {view.hasError && ( @@ -43,7 +43,7 @@ export const Feed = observer(function Feed({ onPressTryAgain={onPressTryAgain} /> )} - {view.hasContent && ( + {view.hasLoaded && ( <FlatList data={view.notifications} keyExtractor={item => item._reactKey} @@ -53,7 +53,7 @@ export const Feed = observer(function Feed({ onEndReached={onEndReached} /> )} - {view.isEmpty && ( + {view.hasLoaded && view.isEmpty && ( <EmptyState icon="bell" message="No notifications yet!" /> )} </View> |