mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
Bug 1854123 - Show the "find more add-ons" button unconditionally in Fenix
This commit is contained in:
parent
4a31ce1b52
commit
2105050c26
@ -274,6 +274,6 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
|
||||
// This is locale-less on purpose so that the content negotiation happens on the AMO side because the current
|
||||
// user language might not be supported by AMO and/or the language might not be exactly what AMO is expecting
|
||||
// (e.g. `en` instead of `en-US`).
|
||||
private const val AMO_HOMEPAGE_FOR_ANDROID = "https://addons.mozilla.org/android/"
|
||||
private const val AMO_HOMEPAGE_FOR_ANDROID = BuildConfig.AMO_BASE_URL + "/android/"
|
||||
}
|
||||
}
|
||||
|
@ -7,7 +7,6 @@ package org.mozilla.fenix.addons
|
||||
import androidx.navigation.NavController
|
||||
import mozilla.components.feature.addons.Addon
|
||||
import mozilla.components.feature.addons.ui.AddonsManagerAdapterDelegate
|
||||
import org.mozilla.fenix.Config
|
||||
import org.mozilla.fenix.R
|
||||
import org.mozilla.fenix.ext.navigateSafe
|
||||
|
||||
@ -36,9 +35,7 @@ class AddonsManagementView(
|
||||
showNotYetSupportedAddonFragment(unsupportedAddons)
|
||||
}
|
||||
|
||||
override fun shouldShowFindMoreAddonsButton(): Boolean {
|
||||
return !Config.channel.isRelease
|
||||
}
|
||||
override fun shouldShowFindMoreAddonsButton(): Boolean = true
|
||||
|
||||
override fun onFindMoreAddonsButtonClicked() {
|
||||
onMoreAddonsButtonClicked()
|
||||
|
Loading…
Reference in New Issue
Block a user