Better empty state in profiles

zio/stable
Paul Frazee 2022-12-06 13:09:18 -06:00
parent e042bd33ef
commit 1a11c13fce
1 changed files with 7 additions and 1 deletions

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) {