forked from vergnet/application-amicale
Added update text
This commit is contained in:
parent
0a6a4dc863
commit
2691931d73
5 changed files with 7 additions and 7 deletions
4
App.js
4
App.js
|
@ -69,7 +69,7 @@ export default class App extends React.Component<Props, State> {
|
|||
showUpdate: false,
|
||||
});
|
||||
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.showIntro.key, '0');
|
||||
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.showUpdate4.key, '0');
|
||||
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.showUpdate5.key, '0');
|
||||
}
|
||||
|
||||
async loadAssetsAsync() {
|
||||
|
@ -93,7 +93,7 @@ export default class App extends React.Component<Props, State> {
|
|||
isLoading: false,
|
||||
currentTheme: ThemeManager.getCurrentTheme(),
|
||||
showIntro: AsyncStorageManager.getInstance().preferences.showIntro.current === '1',
|
||||
showUpdate: AsyncStorageManager.getInstance().preferences.showUpdate4.current === '1'
|
||||
showUpdate: AsyncStorageManager.getInstance().preferences.showUpdate5.current === '1'
|
||||
// showIntro: true
|
||||
});
|
||||
// Status bar goes dark if set too fast
|
||||
|
|
|
@ -105,7 +105,7 @@ export default class CustomIntroSlider extends React.Component<Props> {
|
|||
key: '1',
|
||||
title: i18n.t('intro.updateSlide.title'),
|
||||
text: i18n.t('intro.updateSlide.text'),
|
||||
icon: 'school',
|
||||
icon: 'email',
|
||||
colors: ['#e01928', '#be1522'],
|
||||
},
|
||||
]
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"updateSlide": {
|
||||
"title": "New in this update!",
|
||||
"text": "Get ready for your exams with Tutor'INSA! Book a Bib'Box or find an empty room to study, available in the side menu."
|
||||
"text": "Never miss an email anymore! Acces your INSA webmail from the app using the left menu. Planex has also seen some improvements!"
|
||||
},
|
||||
"buttons": {
|
||||
"next": "Next",
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
},
|
||||
"updateSlide": {
|
||||
"title": "Nouveau dans cette mise à jour !",
|
||||
"text": "Préparez vos exams avec Tutor'INSA! Réservez une Bib'Box ou trouvez une salle libre pour travailler, disponible dans le menu à gauche. "
|
||||
"text": "Ne ratez plus jamais un email ! Accédez à vos mails insa depuis le menu à gauche. Planex a aussi été un peu amélioré !"
|
||||
},
|
||||
"buttons": {
|
||||
"next": "Suivant",
|
||||
|
|
|
@ -29,8 +29,8 @@ export default class AsyncStorageManager {
|
|||
default: '1',
|
||||
current: '',
|
||||
},
|
||||
showUpdate4: {
|
||||
key: 'showUpdate4',
|
||||
showUpdate5: {
|
||||
key: 'showUpdate5',
|
||||
default: '1',
|
||||
current: '',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue