diff options
| author | anderklander <anderklander@gmail.com> | 2018-04-04 14:44:44 +0200 |
|---|---|---|
| committer | anderklander <anderklander@gmail.com> | 2018-04-11 13:45:42 +0200 |
| commit | ed3e3ecd757ec3ee488cbe40b928cbbb9b43732b (patch) | |
| tree | 553f980b85dc41d39c0be5e3338b2af26f2b520d /app | |
| parent | 7e2dc426247ec039d265a5a25d1bf4fca2f1a390 (diff) | |
| download | mullvadvpn-ed3e3ecd757ec3ee488cbe40b928cbbb9b43732b.tar.xz mullvadvpn-ed3e3ecd757ec3ee488cbe40b928cbbb9b43732b.zip | |
Remove cell-button default label/icon-hover
Diffstat (limited to 'app')
| -rw-r--r-- | app/components/styled/CellButton.js | 6 |
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; |
