Bug 1964647 - Remove nimbus exposure event r=android-reviewers,ohall

Differential Revision: https://phabricator.services.mozilla.com/D248446
This commit is contained in:
pollymce
2025-05-08 19:51:41 +00:00
committed by pmceldowney@mozilla.com
parent 63028da977
commit 526bc24c5a

View File

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