|
@@ -12,7 +12,7 @@ import PlatformTouchable from "react-native-platform-touchable";
|
12
|
12
|
import AsyncStorageManager from "../utils/AsyncStorageManager";
|
13
|
13
|
import * as Expo from "expo";
|
14
|
14
|
|
15
|
|
-const DATA_URL = "https://etud.insa-toulouse.fr/~vergnet/appli-amicale/dataProxiwash.json";
|
|
15
|
+const DATA_URL = "https://srv-falcon.etud.insa-toulouse.fr/~vergnet/appli-amicale/washinsa/washinsa.json";
|
16
|
16
|
|
17
|
17
|
let reminderNotifTime = 5;
|
18
|
18
|
|
|
@@ -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 * 30); // Refresh every half minute
|
|
45
|
+ super(DATA_URL, 1000 * 60); // 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;
|