summaryrefslogtreecommitdiffhomepage
path: root/app/components/Settings.js
diff options
context:
space:
mode:
authoranderklander <anderklander@gmail.com>2018-02-14 20:15:49 +0100
committeranderklander <anderklander@gmail.com>2018-02-15 16:02:02 +0100
commitb5b64ecccd6e9ddb727f8ded678b355239dffce2 (patch)
treea9c2af37831d0ddf4ff1a753f9875c7c65c14cc0 /app/components/Settings.js
parentfca315fea6e7043da0c4d87d08aae74032326ffb (diff)
downloadmullvadvpn-b5b64ecccd6e9ddb727f8ded678b355239dffce2.tar.xz
mullvadvpn-b5b64ecccd6e9ddb727f8ded678b355239dffce2.zip
AppButton-rework
Diffstat (limited to 'app/components/Settings.js')
-rw-r--r--app/components/Settings.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js
index 8c66c4bb1f..17853fe423 100644
--- a/app/components/Settings.js
+++ b/app/components/Settings.js
@@ -2,7 +2,7 @@
import moment from 'moment';
import React from 'react';
import { Component, Text, View } from 'reactxp';
-import { Button, CellButton, AppButton } from './styled';
+import { Button, CellButton, RedButton, Label, Icon } from './styled';
import { Layout, Container } from './Layout';
import CustomScrollbars from './CustomScrollbars';
import styles from './SettingsStyles';
@@ -158,11 +158,11 @@ export default class Settings extends Component {
_renderQuitButton() {
return <View style={styles.settings__footer}>
- <AppButton style={styles.settings__footer_button}
- hoverStyle={styles.settings__footer_button_hover}
+ <RedButton
onPress={this.props.onQuit}
- testName='settings__quit'
- text='Quit app'/>
+ testName='settings__quit'>
+ <Label>Quit app</Label>
+ </RedButton>
</View>;
}
} \ No newline at end of file