mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-10-31 16:22:49 +00:00
Drop the comment on the custom map style branch
Review feedback: the branch already reads as "use the custom url as it is", so the explanation belongs in the commit rather than the source.
This commit is contained in:
-4
@@ -33,10 +33,6 @@ internal class MapTilerTileServerStyleUriBuilder(
|
||||
val mapId = if (darkMode) darkMapId else lightMapId
|
||||
"$baseUrl/$mapId/style.json?key=$apiKey"
|
||||
} else {
|
||||
// A custom style url comes from the homeserver .well-known and is expected to be complete:
|
||||
// it already carries the operator's own credentials, if any. Appending our api key to it
|
||||
// adds a second query string and breaks the request.
|
||||
// See https://github.com/element-hq/element-x-android/issues/7289
|
||||
customMapStyleUrl
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user