Change what's new URL to fix #74

issues/74-fix-whats-new
Adam Novak 4 years ago
parent 1b3802164c
commit 287c9d7ea8

@ -56,6 +56,16 @@ enum class ReleaseChannel {
*/
val isFenix: Boolean
get() = !isFennec
/**
* Is this a rebranded fork?
*/
val isFork: Boolean
get() = when (this) {
ForkDebug -> true
ForkRelease -> true
else -> false
}
}
object Config {

@ -86,6 +86,8 @@ object SupportUtils {
fun getWhatsNewUrl(context: Context) = if (Config.channel.isFennec) {
getGenericSumoURLForTopic(SumoTopic.UPGRADE_FAQ)
} else if (Config.channel.isFork) {
"https://github.com/fork-maintainers/iceweasel/releases"
} else {
getSumoURLForTopic(context, SumoTopic.WHATS_NEW)
}

Loading…
Cancel
Save