Visual tune-up

This commit is contained in:
Paul Frazee 2023-03-16 22:02:44 -05:00
parent 71209bb3ac
commit 244b06c19d
3 changed files with 9 additions and 9 deletions

View file

@ -58,11 +58,11 @@ export const HomeScreen = withAuthRequired((_opts: Props) => {
const renderTabBar = React.useCallback(
(props: TabBarProps) => {
return (
<View style={[pal.view, styles.tabBar]}>
<View style={[pal.view, pal.border, styles.tabBar]}>
<TouchableOpacity style={styles.tabBarAvi} onPress={onPressAvi}>
<UserAvatar avatar={store.me.avatar} size={32} />
</TouchableOpacity>
<TabBar items={['Popular', 'Following']} {...props} />
<TabBar items={['Suggested', 'Following']} {...props} />
</View>
)
},
@ -273,8 +273,10 @@ const styles = StyleSheet.create({
flexDirection: 'row',
alignItems: 'center',
paddingHorizontal: 18,
borderBottomWidth: 1,
},
tabBarAvi: {
marginRight: 16,
paddingBottom: 2,
},
})