diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-18 13:45:32 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-18 20:06:22 +0200 |
| commit | 7826ae23f583fb83742e1c2a29b3e614c1d653ac (patch) | |
| tree | e1ebf019c83c1a2946a49f68776fefd4680f1267 | |
| parent | 4ee82a1d456158635cd6998cbf087ef32fb68c41 (diff) | |
| download | mullvadvpn-7826ae23f583fb83742e1c2a29b3e614c1d653ac.tar.xz mullvadvpn-7826ae23f583fb83742e1c2a29b3e614c1d653ac.zip | |
Keep button labels white on hover
| -rw-r--r-- | app/components/AppButton.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/AppButton.js b/app/components/AppButton.js index 4ce085af49..1b8f50cad2 100644 --- a/app/components/AppButton.js +++ b/app/components/AppButton.js @@ -15,8 +15,8 @@ class BaseButton extends Component { state = { hovered: false }; - textStyle = () => (this.state.hovered ? styles.white80 : styles.white); - iconStyle = () => (this.state.hovered ? styles.white80 : styles.white); + textStyle = () => styles.white; + iconStyle = () => styles.white; backgroundStyle = () => (this.state.hovered ? styles.white80 : styles.white); onHoverStart = () => (!this.props.disabled ? this.setState({ hovered: true }) : null); |
