Login is now working

This commit is contained in:
Rasmus Krämer
2022-04-11 18:31:14 +02:00
parent a0ee82bb31
commit 6de4626239
5 changed files with 41 additions and 14 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ class Store {
// ONLY USE REALM IN Database.realmQueue OR ELSE THE APP WILL CRASH
public static var serverConfig: ServerConnectionConfig {
get {
return Database.getServerConnectionConfig()
// TODO: change this when multiple configs are possible
Database.getServerConnectionConfigs()[Database.getActiveServerConfigIndex()]
}
set(updated) {
Database.setServerConnectionConfig(config: updated)