Skip to content

Commit

Permalink
Fix network label according to design system (#4339)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachunei authored May 16, 2022
1 parent 58b8f56 commit d9c41a0
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,19 @@ const createStyles = (colors: Colors) =>
marginHorizontal: 30,
},
networkLabel: {
backgroundColor: colors.background.alternative,
backgroundColor: colors.background.default,
borderWidth: 1,
borderColor: colors.border.default,
paddingHorizontal: 8,
paddingVertical: 2,
borderRadius: 5,
borderRadius: 8,
alignItems: 'center',
justifyContent: 'center',
flexDirection: 'row',
},
networkLabelText: {
fontSize: 12,
color: colors.text.default,
color: colors.text.alternative,
},
listItem: {
paddingHorizontal: 24,
Expand Down Expand Up @@ -168,7 +168,7 @@ function TokenSelectModal({
<ListItem.Amounts>
<ListItem.Amount>
<View style={styles.networkLabel}>
<Text bold upper style={styles.networkLabelText}>
<Text style={styles.networkLabelText}>
{NETWORKS_NAMES[
item.network?.chainId as keyof typeof NETWORKS_NAMES
] || item.network?.chainId}
Expand Down

0 comments on commit d9c41a0

Please sign in to comment.