summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-14 20:56:28 +0100
committeranderklander <anderklander@gmail.com>2018-02-15 16:02:02 +0100
commitb63ef2f6ba51c30bae6c07a0e6cff3bc3d4d24ce (patch)
treeb3f4fa57ca080d2951042222a83d9c887269c76a
parent039724937397ca312c0ce449833dac2cfcb5fb75 (diff)
downloadmullvadvpn-b63ef2f6ba51c30bae6c07a0e6cff3bc3d4d24ce.tar.xz
mullvadvpn-b63ef2f6ba51c30bae6c07a0e6cff3bc3d4d24ce.zip
More minor style changes
-rw-r--r--app/components/styled/AppButton.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/components/styled/AppButton.js b/app/components/styled/AppButton.js
index 53fe5561e7..de92c1fb8c 100644
--- a/app/components/styled/AppButton.js
+++ b/app/components/styled/AppButton.js
@@ -75,9 +75,8 @@ const styles = {
export class Label extends Component {
render() {
- const style = this.props.style || styles.white;
return (
- <Text style={[ styles.label, style ]}>
+ <Text style={[ styles.label, this.props.style ]}>
{this.props.children}
</Text>
);
@@ -93,7 +92,6 @@ export class Icon extends Component {
<Img style={[ styles.icon,
{width,
height},
- styles.white,
this.props.style]}
source={source}
tintColor='currentColor'/>);