@ -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)