MESSENGER-3861 better url management && use our poll german texts

This commit is contained in:
Frank Rotermund
2022-11-21 13:59:55 +01:00
parent f37c28021d
commit 226feb8cf1
13 changed files with 50 additions and 17 deletions

View File

@@ -75,9 +75,12 @@ final class HomeserverConfigurationBuilder: NSObject {
if let mapStyleURLString = wellKnown?.tileServer?.mapStyleURLString,
let mapStyleURL = URL(string: mapStyleURLString) {
tileServerMapStyleURL = mapStyleURL
} else if let mapStyleURL = URL( string: AppConfigService.shared.serverUrl()) {
tileServerMapStyleURL = mapStyleURL
} else {
tileServerMapStyleURL = BWIBuildSettings.shared.defaultTileServerMapStyleURL
tileServerMapStyleURL = BuildSettings.defaultTileServerMapStyleURL
}
let tileServerConfiguration = HomeserverTileServerConfiguration(mapStyleURL: tileServerMapStyleURL)