WT1.1.0+38 Design, time_picker

This commit is contained in:
bossanyit
2020-12-10 14:19:52 +01:00
parent 85ce68a9b8
commit 81f904af2c
13 changed files with 162 additions and 69 deletions
+3
View File
@@ -129,6 +129,7 @@ class Cache {
void setServerAddress(SharedPreferences prefs) {
if (this.testEnvironment == "1") {
baseUrl = 'http://aitrainer.app:8899/api/';
return;
}
final bool live = prefs.getBool(Cache.serverKey);
@@ -138,6 +139,8 @@ class Cache {
liveServer = live;
if (live) {
baseUrl = 'http://aitrainer.info:8888/api/';
} else {
baseUrl = 'http://aitrainer.app:8899/api/';
}
}