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:
hayaksi1
2026-08-09 14:44:30 +03:00
parent c7d8973507
commit 7ebcb86ee1
@@ -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
}
}