diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-20 15:35:44 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-24 13:48:18 +0200 |
| commit | b45bc31c0b6a3c248c64da3cd75f9e10607bdc8a (patch) | |
| tree | 38f1972ac884b6372ec38becd68144af20c18b57 /app/components/Connect.js | |
| parent | 4b15132791c45c6d5675dbb39c74c5a6d257d458 (diff) | |
| download | mullvadvpn-b45bc31c0b6a3c248c64da3cd75f9e10607bdc8a.tar.xz mullvadvpn-b45bc31c0b6a3c248c64da3cd75f9e10607bdc8a.zip | |
Remove global styles from app buttons
Diffstat (limited to 'app/components/Connect.js')
| -rw-r--r-- | app/components/Connect.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js index 4759f1619d..dabde569dc 100644 --- a/app/components/Connect.js +++ b/app/components/Connect.js @@ -232,7 +232,9 @@ export default class Connect extends Component<ConnectProps, ConnectState> { {/* footer when disconnected */} {isDisconnected ? ( <View style={styles.footer}> - <AppButton.TransparentButton onPress={this.props.onSelectLocation}> + <AppButton.TransparentButton + style={styles.switch_location_button} + onPress={this.props.onSelectLocation}> <AppButton.Label>{this.props.selectedRelayName}</AppButton.Label> <Img height={12} width={7} source="icon-chevron" /> </AppButton.TransparentButton> @@ -245,7 +247,9 @@ export default class Connect extends Component<ConnectProps, ConnectState> { {/* footer when connecting */} {isConnecting ? ( <View style={styles.footer}> - <AppButton.TransparentButton onPress={this.props.onSelectLocation}> + <AppButton.TransparentButton + style={styles.switch_location_button} + onPress={this.props.onSelectLocation}> {'Switch location'} </AppButton.TransparentButton> <AppButton.RedTransparentButton onPress={this.props.onDisconnect}> @@ -257,7 +261,9 @@ export default class Connect extends Component<ConnectProps, ConnectState> { {/* footer when connected */} {isConnected ? ( <View style={styles.footer}> - <AppButton.TransparentButton onPress={this.props.onSelectLocation}> + <AppButton.TransparentButton + style={styles.switch_location_button} + onPress={this.props.onSelectLocation}> {'Switch location'} </AppButton.TransparentButton> <AppButton.RedTransparentButton |
