|
@@ -42,7 +42,7 @@ export default class ProxiwashScreen extends FetchedDataSectionList {
|
42
|
42
|
* Creates machine state parameters using current theme and translations
|
43
|
43
|
*/
|
44
|
44
|
constructor() {
|
45
|
|
- super(DATA_URL, 1000 * 60); // Refresh every minute
|
|
45
|
+ super(DATA_URL, 1000 * 10); // Refresh every minute
|
46
|
46
|
let colors = ThemeManager.getCurrentThemeVariables();
|
47
|
47
|
stateColors[MACHINE_STATES.TERMINE] = colors.proxiwashFinishedColor;
|
48
|
48
|
stateColors[MACHINE_STATES.DISPONIBLE] = colors.proxiwashReadyColor;
|
|
@@ -78,6 +78,7 @@ export default class ProxiwashScreen extends FetchedDataSectionList {
|
78
|
78
|
}
|
79
|
79
|
|
80
|
80
|
componentDidMount() {
|
|
81
|
+ super.componentDidMount();
|
81
|
82
|
if (Platform.OS === 'android') {
|
82
|
83
|
Expo.Notifications.createChannelAndroidAsync('reminders', {
|
83
|
84
|
name: 'Reminders',
|