diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-23 17:06:48 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-23 17:06:48 +0200 |
| commit | d258c7614f6c41c6f78939e9d47edff2d44af19f (patch) | |
| tree | 850e39a41014918b89189be2c62283b78c099161 /app/components/Support.js | |
| parent | 26258ff77bcd32ca362aa6b0e0087b9602076d2e (diff) | |
| parent | 858c95cdf3bb94ff4e75eb63c8c982520a5fb629 (diff) | |
| download | mullvadvpn-d258c7614f6c41c6f78939e9d47edff2d44af19f.tar.xz mullvadvpn-d258c7614f6c41c6f78939e9d47edff2d44af19f.zip | |
Merge branch 'add-settings-navigation'
Diffstat (limited to 'app/components/Support.js')
| -rw-r--r-- | app/components/Support.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/app/components/Support.js b/app/components/Support.js index 9c411b1ff0..34fc360215 100644 --- a/app/components/Support.js +++ b/app/components/Support.js @@ -1,8 +1,9 @@ // @flow import * as React from 'react'; -import { Button, Component, Text, View, TextInput } from 'reactxp'; +import { Component, Text, View, TextInput } from 'reactxp'; import * as AppButton from './AppButton'; import { Layout, Container } from './Layout'; +import NavigationBar, { BackBarItem } from './NavigationBar'; import styles from './SupportStyles'; import Img from './Img'; @@ -154,13 +155,10 @@ export default class Support extends Component<SupportProps, SupportState> { <Layout> <Container> <View style={styles.support}> - <Button - style={styles.support__close} - onPress={this.props.onClose} - testName="support__close"> - <Img height={24} width={24} style={styles.support__close_icon} source="icon-back" /> - <Text style={styles.support__close_title}>Settings</Text> - </Button> + <NavigationBar> + <BackBarItem action={this.props.onClose} title={'Settings'} /> + </NavigationBar> + <View style={styles.support__container}> {header} |
