Bug 1964647 - Remove nimbus exposure event r=android-reviewers,ohall
Differential Revision: https://phabricator.services.mozilla.com/D248446
This commit is contained in:
committed by
pmceldowney@mozilla.com
parent
63028da977
commit
526bc24c5a
@@ -202,9 +202,6 @@ open class DefaultToolbarMenu(
|
||||
@VisibleForTesting(otherwise = PRIVATE)
|
||||
fun shouldShowTranslations(): Boolean {
|
||||
val isEngineSupported = store.state.translationEngine.isEngineSupported
|
||||
if (isEngineSupported == true) {
|
||||
FxNimbus.features.translations.recordExposure()
|
||||
}
|
||||
return selectedSession?.let {
|
||||
isEngineSupported == true &&
|
||||
FxNimbus.features.translations.value().mainFlowBrowserMenuEnabled
|
||||
|
||||
Reference in New Issue
Block a user