Skip to content

Commit

Permalink
Fix wallet select screen paragraph design
Browse files Browse the repository at this point in the history
  • Loading branch information
HeesungB authored and Thunnini committed Aug 9, 2024
1 parent 19bbc52 commit 379b733
Showing 1 changed file with 37 additions and 28 deletions.
65 changes: 37 additions & 28 deletions apps/mobile/src/screen/wallet/select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -768,35 +768,44 @@ const KeyringItem: FunctionComponent<{

<Gutter size={8} />

<Text
numberOfLines={1}
style={StyleSheet.flatten([
style.flatten([
'subtitle2',
'dark:color-gray-700',
'color-gray-10',
]),
{maxWidth: '80%'},
])}>
{keyInfo.name}
</Text>
{icnsPrimaryName ? (
<React.Fragment>
<Gutter size={8} />
<ExpoImage.Image
source={require('../../../public/assets/img/icns-icon.png')}
style={style.flatten(['width-16', 'height-16'])}
/>
</React.Fragment>
) : null}
<Box style={{width: '100%'}}>
<XAxis>
<Text
numberOfLines={1}
style={StyleSheet.flatten([
style.flatten([
'subtitle2',
'dark:color-gray-700',
'color-gray-10',
]),
{maxWidth: '80%'},
])}>
{keyInfo.name}
</Text>

{icnsPrimaryName ? (
<React.Fragment>
<Gutter size={8} />
<ExpoImage.Image
source={require('../../../public/assets/img/icns-icon.png')}
style={style.flatten(['width-16', 'height-16'])}
/>
</React.Fragment>
) : null}
</XAxis>

{paragraph ? (
<React.Fragment>
<Gutter size={6} />

<Text
style={style.flatten(['body2', 'color-gray-300'])}>
{paragraph}
</Text>
</React.Fragment>
) : null}
</Box>
</XAxis>
{paragraph ? (
<React.Fragment>
<Text style={style.flatten(['body2', 'color-gray-300'])}>
{paragraph}
</Text>
</React.Fragment>
) : null}
</Box>
<Column weight={1} />
<TouchableWithoutFeedback
Expand Down

0 comments on commit 379b733

Please sign in to comment.