diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-07 17:53:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 17:53:27 -0400 |
commit | 5ef5b0776cbbde697919308bbfbab2aed00ca493 (patch) | |
tree | 0180365917b8483c660435381fb1e83393caee45 /src/components/profile/ProfileBody.tsx | |
parent | 63c5de57ea2989fd2b66211a06b51bb42c5d20ea (diff) | |
parent | c18b2436897cd92e7a33c33c75e13dba1fec8ffe (diff) |
Merge pull request #455 from IvanIFChen/tma878-profile-badges
[TMA-878] Profile Badges
Diffstat (limited to 'src/components/profile/ProfileBody.tsx')
-rw-r--r-- | src/components/profile/ProfileBody.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx index 8743acfb..c0ee508a 100644 --- a/src/components/profile/ProfileBody.tsx +++ b/src/components/profile/ProfileBody.tsx @@ -20,6 +20,7 @@ import { import {canViewProfile} from '../../utils/users'; import {FriendsButton} from '../common'; import {MessageButton} from '../messages'; +import ProfileBadges from './ProfileBadges'; import ToggleButton from './ToggleButton'; interface ProfileBodyProps { @@ -65,6 +66,7 @@ const ProfileBody: React.FC<ProfileBodyProps> = ({ return ( <View onLayout={onLayout} style={styles.container}> + <ProfileBadges {...{userXId, screenType}} /> <Text style={styles.username}>{`@${username}`}</Text> {biography.length > 0 && ( <Text style={styles.biography}>{`${biography}`}</Text> @@ -137,7 +139,6 @@ const styles = StyleSheet.create({ justifyContent: 'space-between', }, container: { - paddingVertical: '1%', paddingHorizontal: 18, backgroundColor: 'white', }, |