forked from vergnet/application-amicale
added new update slides
This commit is contained in:
parent
0a4a3f23f0
commit
12cfdab54d
5 changed files with 7 additions and 7 deletions
4
App.js
4
App.js
|
@ -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
|
||||
|
|
|
@ -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'],
|
||||
},
|
||||
]
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -29,8 +29,8 @@ export default class AsyncStorageManager {
|
|||
default: '1',
|
||||
current: '',
|
||||
},
|
||||
showUpdate1: {
|
||||
key: 'showUpdate1',
|
||||
showUpdate2: {
|
||||
key: 'showUpdate2',
|
||||
default: '1',
|
||||
current: '',
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue