summaryrefslogtreecommitdiffhomepage
path: root/app/components/HeaderBar.js
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2018-04-24 13:19:30 +0100
committerEmīls Piņķis <emils@mullvad.net>2018-04-24 13:19:30 +0100
commit3c69b0925b0c4b9aee6457d34d86bb59bfdb3f59 (patch)
tree134ac970c329eadb40d61baed3f6f725c8740a17 /app/components/HeaderBar.js
parentc03640de300efcf5b7ada700a64850dca3a7541e (diff)
parentd08775aa954c90f5002d255210f70f822a96c52f (diff)
downloadmullvadvpn-3c69b0925b0c4b9aee6457d34d86bb59bfdb3f59.tar.xz
mullvadvpn-3c69b0925b0c4b9aee6457d34d86bb59bfdb3f59.zip
Merge branch 'linux-always-display-window'
Diffstat (limited to 'app/components/HeaderBar.js')
-rw-r--r--app/components/HeaderBar.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/components/HeaderBar.js b/app/components/HeaderBar.js
index 6e5864aa0f..6f44ff7a00 100644
--- a/app/components/HeaderBar.js
+++ b/app/components/HeaderBar.js
@@ -10,6 +10,7 @@ import {
import Img from './Img';
import styles from './HeaderBarStyles';
+import platformStyles from './HeaderBarPlatformStyles';
export type HeaderBarStyle = 'default' | 'defaultDark' | 'error' | 'success';
export type HeaderBarProps = {
@@ -31,7 +32,7 @@ export default class HeaderBar extends Component {
render() {
let containerClass = [
styles['headerbar'],
- styles[process.platform],
+ platformStyles[process.platform],
styles['style_' + this.props.style]
];
@@ -50,7 +51,7 @@ export default class HeaderBar extends Component {
{this.props.showSettings ?
<Button style={ styles.settings } onPress={ this.props.onSettings } testName="headerbar__settings">
- <Img height={24} width={24} source='icon-settings' style={ styles.settings_icon } hoverStyle={ styles.settings_icon_hover }/>
+ <Img height={24} width={24} source='icon-settings' style={[ styles.settings_icon, platformStyles.settings_icon ]} hoverStyle={ styles.settings_icon_hover }/>
</Button>
: null}
</View>