Skip to content

Commit

Permalink
Simplify this
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Jun 12, 2020
1 parent 6ef80c5 commit e83f1ff
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/components/UI/NavbarBrowserTitle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ class NavbarBrowserTitle extends PureComponent {
</Text>
</View>
<View style={styles.network}>
<View
style={[
styles.networkIcon,
color ? { backgroundColor: color } : { backgroundColor: colors.red }
]}
/>
<View style={[styles.networkIcon, { backgroundColor: color || colors.red }]} />
<Text style={styles.networkName} testID={'navbar-title-network'}>
{name}
</Text>
Expand Down

0 comments on commit e83f1ff

Please sign in to comment.