summaryrefslogtreecommitdiffhomepage
path: root/app/components/Account.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/Account.js
parenta71f03133221e8000bcc4713d6d67757ea904d7e (diff)
downloadmullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.tar.xz
mullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.zip
Make settings headers also drag the window
Diffstat (limited to 'app/components/Account.js')
-rw-r--r--app/components/Account.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/components/Account.js b/app/components/Account.js
index bcb2c11ebd..2534a3e40c 100644
--- a/app/components/Account.js
+++ b/app/components/Account.js
@@ -5,6 +5,7 @@ import { Component, Text, View, App, Types } from 'reactxp';
import * as AppButton from './AppButton';
import { Layout, Container } from './Layout';
import NavigationBar, { BackBarItem } from './NavigationBar';
+import SettingsHeader, { HeaderTitle } from './SettingsHeader';
import styles from './AccountStyles';
import Img from './Img';
import { formatAccount } from '../lib/formatters';
@@ -96,9 +97,9 @@ export default class Account extends Component<AccountProps, AccountState> {
</NavigationBar>
<View style={styles.account__container}>
- <View style={styles.account__header}>
- <Text style={styles.account__title}>Account</Text>
- </View>
+ <SettingsHeader>
+ <HeaderTitle>Account</HeaderTitle>
+ </SettingsHeader>
<View style={styles.account__content}>
<View style={styles.account__main}>