summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-04-04 14:44:44 +0200
committeranderklander <anderklander@gmail.com>2018-04-11 13:45:42 +0200
commited3e3ecd757ec3ee488cbe40b928cbbb9b43732b (patch)
tree553f980b85dc41d39c0be5e3338b2af26f2b520d /app
parent7e2dc426247ec039d265a5a25d1bf4fca2f1a390 (diff)
downloadmullvadvpn-ed3e3ecd757ec3ee488cbe40b928cbbb9b43732b.tar.xz
mullvadvpn-ed3e3ecd757ec3ee488cbe40b928cbbb9b43732b.zip
Remove cell-button default label/icon-hover
Diffstat (limited to 'app')
-rw-r--r--app/components/styled/CellButton.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/components/styled/CellButton.js b/app/components/styled/CellButton.js
index 400a7ac6de..1a0e055b01 100644
--- a/app/components/styled/CellButton.js
+++ b/app/components/styled/CellButton.js
@@ -82,9 +82,9 @@ type State = { hovered: boolean };
export default class CellButton extends Component<CellButtonProps, State> {
state = { hovered: false };
- textStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle || styles.white80 : null;
- iconStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle || styles.white40 : null;
- subtextStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle || styles.white40 : null;
+ textStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle : null;
+ iconStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle : null;
+ subtextStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle : null;
backgroundStyle = (cellHoverStyle?: Types.ViewStyle) => this.state.hovered ? cellHoverStyle || styles.blueHover : null;
onHoverStart = () => !this.props.disabled ? this.setState({ hovered: true }) : null;