diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-07-25 14:21:37 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-07-26 08:14:04 -0300 |
| commit | fcf7c3bbd79eef086a1f8764d2a3fff332722fd2 (patch) | |
| tree | d4acdb5b24198dc9db0e4349f6f0f988c70b5a96 /app/components/Preferences.js | |
| parent | a71f03133221e8000bcc4713d6d67757ea904d7e (diff) | |
| download | mullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.tar.xz mullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.zip | |
Make settings headers also drag the window
Diffstat (limited to 'app/components/Preferences.js')
| -rw-r--r-- | app/components/Preferences.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/components/Preferences.js b/app/components/Preferences.js index 9a0143edff..ceb76f4384 100644 --- a/app/components/Preferences.js +++ b/app/components/Preferences.js @@ -3,6 +3,7 @@ import React from 'react'; import { Component, Text, View } from 'reactxp'; import { Layout, Container } from './Layout'; import NavigationBar, { BackBarItem } from './NavigationBar'; +import SettingsHeader, { HeaderTitle } from './SettingsHeader'; import Switch from './Switch'; import styles from './PreferencesStyles'; @@ -40,9 +41,9 @@ export default class Preferences extends Component<PreferencesProps, State> { </NavigationBar> <View style={styles.preferences__container}> - <View style={styles.preferences__header}> - <Text style={styles.preferences__title}>Preferences</Text> - </View> + <SettingsHeader> + <HeaderTitle>Preferences</HeaderTitle> + </SettingsHeader> <View style={styles.preferences__content}> <View style={styles.preferences__cell}> |
