diff options
| author | Erik Larkö <erik@mullvad.net> | 2018-02-01 13:00:14 +0100 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2018-02-01 13:10:04 +0100 |
| commit | 8717a0dc5e71cb2195e5e017e1200965456f6400 (patch) | |
| tree | 57700850ed6e88c9734233554160d5b6281b2bf4 | |
| parent | 1084b45f890fabdac1a9e59ad4962c9090569c75 (diff) | |
| download | mullvadvpn-8717a0dc5e71cb2195e5e017e1200965456f6400.tar.xz mullvadvpn-8717a0dc5e71cb2195e5e017e1200965456f6400.zip | |
Open the download page when tapping on the app version
| -rw-r--r-- | app/components/Settings.js | 3 | ||||
| -rw-r--r-- | app/components/SettingsStyles.js | 1 | ||||
| -rw-r--r-- | app/config.json | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/app/components/Settings.js b/app/components/Settings.js index edd9d37f7a..4022054acd 100644 --- a/app/components/Settings.js +++ b/app/components/Settings.js @@ -109,9 +109,10 @@ export default class Settings extends Component { _renderMiddleButtons() { return <View> - <ButtonCell testName='settings__version'> + <ButtonCell onPress={ this.props.onExternalLink.bind(this, 'download') } testName='settings__version'> <Text style={styles.settings__cell_label}>App version</Text> <Text style={styles.settings__cell_subtext}>{this._formattedVersion()}</Text> + <Img style={styles.settings__cell_icon} source='icon-extLink' tintColor='currentColor'/> </ButtonCell> </View>; } diff --git a/app/components/SettingsStyles.js b/app/components/SettingsStyles.js index ef502e9db4..d37703a8fe 100644 --- a/app/components/SettingsStyles.js +++ b/app/components/SettingsStyles.js @@ -70,6 +70,7 @@ export default Object.assign(createViewStyles({ backgroundColor: 'rgba(41,71,115,0.9)' }, settings__cell_icon:{ + marginLeft: 8, width: 16, height: 16, flexGrow: 0, diff --git a/app/config.json b/app/config.json index cb4594cdc7..d022e65ef6 100644 --- a/app/config.json +++ b/app/config.json @@ -4,6 +4,7 @@ "purchase": "https://mullvad.net/account/", "faq": "https://mullvad.net/faq/", "guides": "https://mullvad.net/guides/", + "download": "https://mullvad.net/download/", "supportEmail": "mailto:support@mullvad.net" } } |
