Skip to content

Commit

Permalink
Simplify this
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Jun 15, 2020
1 parent 05e7b17 commit be6344b
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 be6344b

Please sign in to comment.