From 062ac9ac5d5ccafeb27281935fb5c23ad47d4ac9 Mon Sep 17 00:00:00 2001 From: keplyx Date: Mon, 5 Aug 2019 15:10:20 +0200 Subject: [PATCH] Updated about links and version --- app.json | 2 +- screens/About/AboutScreen.js | 19 +++++++++++++------ translations/en.json | 1 + translations/fr.json | 1 + 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/app.json b/app.json index c363d63..37f35c0 100644 --- a/app.json +++ b/app.json @@ -9,7 +9,7 @@ "android", "web" ], - "version": "0.0.2", + "version": "0.0.3", "orientation": "portrait", "icon": "./assets/icon.png", "primaryColor": "#e42612", diff --git a/screens/About/AboutScreen.js b/screens/About/AboutScreen.js index 13260b5..eb9a264 100644 --- a/screens/About/AboutScreen.js +++ b/screens/About/AboutScreen.js @@ -12,10 +12,11 @@ import CustomMaterialIcon from "../../components/CustomMaterialIcon"; const links = { appstore: 'https://qwant.com', playstore: 'https://qwant.com', - gitlab: 'https://qwant.com', - bugs: 'https://qwant.com', - changelog: 'https://qwant.com', - license: 'https://qwant.com', + expo: 'https://expo.io/@amicaleinsat/application-amicale', + git: 'https://git.srv-falcon.etud.insa-toulouse.fr/vergnet/application-amicale', + bugs: 'https://git.srv-falcon.etud.insa-toulouse.fr/vergnet/application-amicale/issues', + changelog: 'https://git.srv-falcon.etud.insa-toulouse.fr/vergnet/application-amicale', + license: 'https://git.srv-falcon.etud.insa-toulouse.fr/vergnet/application-amicale', mail: "mailto:arnaud.vergnet@netc.fr?subject=Application Amicale INSA Toulouse&body=", linkedin: 'https://www.linkedin.com/in/arnaud-vergnet-434ba5179/', facebook: 'https://www.facebook.com/arnaud.vergnet', @@ -50,9 +51,15 @@ export default class AboutScreen extends React.Component { showChevron: true }, { - onPressCallback: () => openWebLink(links.gitlab), + onPressCallback: () => openWebLink(links.expo), + icon: 'worker', + text: i18n.t('aboutScreen.expoBeta'), + showChevron: true + }, + { + onPressCallback: () => openWebLink(links.git), icon: 'git', - text: 'Gitlab', + text: 'Git', showChevron: true }, { diff --git a/translations/en.json b/translations/en.json index f354422..6c2e67e 100644 --- a/translations/en.json +++ b/translations/en.json @@ -31,6 +31,7 @@ "aboutScreen": { "appstore": "See on the Appstore", "playstore": "See on the Playstore", + "expoBeta": "Participate in the Beta!", "bugs": "Report Bugs", "changelog": "Changelog", "license": "License", diff --git a/translations/fr.json b/translations/fr.json index d49a2ae..974171f 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -31,6 +31,7 @@ "aboutScreen": { "appstore": "Voir sur l'Appstore", "playstore": "Voir sur le Playstore", + "expoBeta": "Participer à la Beta !", "bugs": "Rapporter des Bugs", "changelog": "Historique des modifications", "license": "Licence",