Better empty state in profiles

This commit is contained in:
Paul Frazee 2022-12-06 13:09:18 -06:00
parent e042bd33ef
commit 1a11c13fce

View file

@ -147,7 +147,13 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
/>
)
} else {
renderItem = () => <Text style={styles.loading}>No posts yet!</Text>
renderItem = () => (
<EmptyState
icon={['far', 'message']}
message="No posts yet!"
style={{paddingVertical: 40}}
/>
)
}
}
} else if (uiState.selectedView === Sections.Scenes) {