summaryrefslogtreecommitdiffhomepage
path: root/app/components/Support.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/Support.js
parenta71f03133221e8000bcc4713d6d67757ea904d7e (diff)
downloadmullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.tar.xz
mullvadvpn-fcf7c3bbd79eef086a1f8764d2a3fff332722fd2.zip
Make settings headers also drag the window
Diffstat (limited to 'app/components/Support.js')
-rw-r--r--app/components/Support.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/components/Support.js b/app/components/Support.js
index d909262429..23ddbb1b8e 100644
--- a/app/components/Support.js
+++ b/app/components/Support.js
@@ -4,6 +4,7 @@ import { Component, Text, View, TextInput } from 'reactxp';
import * as AppButton from './AppButton';
import { Layout, Container } from './Layout';
import NavigationBar, { BackBarItem } from './NavigationBar';
+import SettingsHeader, { HeaderTitle, HeaderSubTitle } from './SettingsHeader';
import styles from './SupportStyles';
import Img from './Img';
@@ -137,16 +138,16 @@ export default class Support extends Component<SupportProps, SupportState> {
render() {
const { sendState } = this.state;
const header = (
- <View style={styles.support__header}>
- <Text style={styles.support__title}>Report a problem</Text>
+ <SettingsHeader>
+ <HeaderTitle>Report a problem</HeaderTitle>
{(sendState === 'INITIAL' || sendState === 'CONFIRM_NO_EMAIL') && (
- <Text style={styles.support__subtitle}>
+ <HeaderSubTitle>
{
"To help you more effectively, your app's log file will be attached to this message. Your data will remain secure and private, as it is anonymised before being sent over an encrypted channel."
}
- </Text>
+ </HeaderSubTitle>
)}
- </View>
+ </SettingsHeader>
);
const content = this._renderContent();