mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 07:28:28 +02:00
MESSENGER-4549 Enable locationsharing per default when there is an url in well-known
This commit is contained in:
@@ -77,10 +77,8 @@ 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 = BuildSettings.defaultTileServerMapStyleURL
|
||||
tileServerMapStyleURL = URL(string: BWIBuildSettings.shared.serverConfigDefaultMapstyleURLString)!
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user