mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Set map tiler URL from well known if available (#5633)
This commit is contained in:
@@ -21,6 +21,7 @@ extension ClientSDKMock {
|
||||
var supportsOAuthCreatePrompt = true
|
||||
var supportsPasswordLogin = true
|
||||
var elementWellKnown: String?
|
||||
var tileServerMapStyleURL: String?
|
||||
var validCredentials = (username: "alice", password: "12345678")
|
||||
|
||||
// MARK: Session
|
||||
@@ -68,6 +69,7 @@ extension ClientSDKMock {
|
||||
throw MockError.generic
|
||||
}
|
||||
}
|
||||
tileServerReturnValue = configuration.tileServerMapStyleURL.map { TileServerInfo(mapStyleUrl: $0) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user