summaryrefslogtreecommitdiffhomepage
path: root/app/components/Settings.js
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-07-25 14:21:37 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-07-26 08:14:04 -0300
commitfcf7c3bbd79eef086a1f8764d2a3fff332722fd2 (patch)
treed4acdb5b24198dc9db0e4349f6f0f988c70b5a96 /app/components/Settings.js
parenta71f03133221e8000bcc4713d6d67757ea904d7e (diff)
downloadmullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.tar.xz
mullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.zip
Make settings headers also drag the window
Diffstat (limited to 'app/components/Settings.js')
-rw-r--r--app/components/Settings.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
index 260003b5c6..4a8784fe0e 100644
--- a/app/components/Settings.js
+++ b/app/components/Settings.js
@@ -1,11 +1,12 @@
// @flow
import moment from 'moment';
import * as React from 'react';
-import { Component, Text, View } from 'reactxp';
+import { Component, View } from 'reactxp';
import * as AppButton from './AppButton';
import * as Cell from './Cell';
import { Layout, Container } from './Layout';
import NavigationBar, { CloseBarItem } from './NavigationBar';
+import SettingsHeader, { HeaderTitle } from './SettingsHeader';
import CustomScrollbars from './CustomScrollbars';
import styles from './SettingsStyles';
import Img from './Img';
@@ -37,9 +38,9 @@ export default class Settings extends Component<SettingsProps> {
</NavigationBar>
<View style={styles.settings__container}>
- <View style={styles.settings__header}>
- <Text style={styles.settings__title}>Settings</Text>
- </View>
+ <SettingsHeader>
+ <HeaderTitle>Settings</HeaderTitle>
+ </SettingsHeader>
<CustomScrollbars style={styles.settings__scrollview} autoHide={true}>
<View style={styles.settings__content}>