Fix feed empty state (close #1235) (#1239)

zio/stable
Paul Frazee 2023-08-22 16:36:23 -07:00 committed by GitHub
parent 2b13dc0f3a
commit 54118fe478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -477,8 +477,12 @@ export const CustomFeedScreenInner = observer(
])
const renderEmptyState = React.useCallback(() => {
return <EmptyState icon="feed" message="This list is empty!" />
}, [])
return (
<View style={[pal.border, {borderTopWidth: 1, paddingTop: 20}]}>
<EmptyState icon="feed" message="This feed is empty!" />
</View>
)
}, [pal.border])
return (
<View style={s.hContentRegion}>