For #25808: Remove unnecessary safe call.
This commit is contained in:
parent
0b2fe605ce
commit
ca46f2f07e
|
@ -71,7 +71,7 @@ object SupportUtils {
|
||||||
): String {
|
): String {
|
||||||
val escapedTopic = getEncodedTopicUTF8(topic.topicStr)
|
val escapedTopic = getEncodedTopicUTF8(topic.topicStr)
|
||||||
// Remove the whitespace so a search is not triggered:
|
// Remove the whitespace so a search is not triggered:
|
||||||
val appVersion = context.appVersionName?.replace(" ", "")
|
val appVersion = context.appVersionName.replace(" ", "")
|
||||||
val osTarget = "Android"
|
val osTarget = "Android"
|
||||||
val langTag = getLanguageTag(locale)
|
val langTag = getLanguageTag(locale)
|
||||||
return "https://support.mozilla.org/1/mobile/$appVersion/$osTarget/$langTag/$escapedTopic"
|
return "https://support.mozilla.org/1/mobile/$appVersion/$osTarget/$langTag/$escapedTopic"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user