2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00

For #25808: Remove unnecessary safe call.

This commit is contained in:
mcarare 2022-07-06 16:01:21 +03:00 committed by mergify[bot]
parent 0b2fe605ce
commit ca46f2f07e

View File

@ -71,7 +71,7 @@ object SupportUtils {
): String {
val escapedTopic = getEncodedTopicUTF8(topic.topicStr)
// Remove the whitespace so a search is not triggered:
val appVersion = context.appVersionName?.replace(" ", "")
val appVersion = context.appVersionName.replace(" ", "")
val osTarget = "Android"
val langTag = getLanguageTag(locale)
return "https://support.mozilla.org/1/mobile/$appVersion/$osTarget/$langTag/$escapedTopic"