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
1 changed files with 1 additions and 1 deletions

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"