mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 15:38:28 +02:00
MESSENGER-3861 better url management && use our poll german texts
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user