Skip to content

Commit

Permalink
Make 'Share' notice less cramped
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Nov 10, 2023
1 parent 01232db commit 539d964
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions components/traits-tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ const ShareNotice = ({personId}) => {
return (
<Pressable
style={{
flexDirection: 'row',
alignItems: 'center',
marginTop: 10,
marginBottom: 20,
backgroundColor: 'rgba(119, 0, 255, 0.1)',
Expand All @@ -51,18 +49,20 @@ const ShareNotice = ({personId}) => {
onPress={onPressNotice}
>
<DefaultText style={{color: '#70f', fontWeight: '600', marginRight: 5}}>
{isCopied ? 'Copied!' : 'Share:'}
{isCopied ? 'Copied!' : 'Share'}
</DefaultText>

<TextInput
style={{color: '#70f', marginRight: 10, flexGrow: 1}}
value={url}
/>
<View style={{ flexDirection: 'row' }}>
<TextInput
style={{color: '#70f', flexGrow: 1}}
value={url}
/>

<FontAwesomeIcon
icon={faCopy}
size={16}
/>
<FontAwesomeIcon
icon={faCopy}
size={16}
/>
</View>
</Pressable>
);
}
Expand Down

0 comments on commit 539d964

Please sign in to comment.