added new update slides

This commit is contained in:
keplyx 2019-09-20 09:52:27 +02:00
parent 0a4a3f23f0
commit 12cfdab54d
5 changed files with 7 additions and 7 deletions

4
App.js
View file

@ -72,7 +72,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.showUpdate1.key, '0');
AsyncStorageManager.getInstance().savePref(AsyncStorageManager.getInstance().preferences.showUpdate2.key, '0');
}
async loadAssetsAsync() {
@ -95,7 +95,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.showUpdate1.current === '1'
showUpdate: AsyncStorageManager.getInstance().preferences.showUpdate2.current === '1'
// showIntro: true
});
// Status bar goes dark if set too fast

View file

@ -98,7 +98,7 @@ export default class CustomIntroSlider extends React.Component<Props> {
key: '1',
title: i18n.t('intro.updateSlide.title'),
text: i18n.t('intro.updateSlide.text'),
icon: 'calendar-range',
icon: 'silverware-fork-knife',
colors: ['#e01928', '#be1522'],
},
]

View file

@ -36,7 +36,7 @@
},
"updateSlide": {
"title": "New in this update!",
"text": "Discover every event occurring on the campus in the new Planning screen!"
"text": "The RU menu is now working!\nAvailable in the left side menu!"
}
},
"settingsScreen": {

View file

@ -36,7 +36,7 @@
},
"updateSlide": {
"title": "Nouveau dans cette mise à jour !",
"text": "Découvre tous les événements du campus dans la nouvelle section Planning !"
"text": "Le menu du RU marche enfin !\nAccessible depuis le menu à gauche"
}
},
"settingsScreen": {

View file

@ -29,8 +29,8 @@ export default class AsyncStorageManager {
default: '1',
current: '',
},
showUpdate1: {
key: 'showUpdate1',
showUpdate2: {
key: 'showUpdate2',
default: '1',
current: '',
},