Dan Ballard pushed to branch tor-browser-140.5.0esr-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
111978d4
by clairehurst at 2025-11-05T13:43:13-07:00
1 changed file:
Changes:
| ... | ... | @@ -201,11 +201,9 @@ open class DefaultToolbarMenu( |
| 201 | 201 | */
|
| 202 | 202 | @VisibleForTesting(otherwise = PRIVATE)
|
| 203 | 203 | fun shouldShowTranslations(): Boolean {
|
| 204 | - val isEngineSupported = store.state.translationEngine.isEngineSupported
|
|
| 205 | - return selectedSession?.let {
|
|
| 206 | - isEngineSupported == true &&
|
|
| 207 | - FxNimbus.features.translations.value().mainFlowBrowserMenuEnabled
|
|
| 208 | - } ?: false
|
|
| 204 | + // We need this because in FxNimbus.kt, mainFlowToolbarEnabled defaults to true
|
|
| 205 | + // ```mainFlowToolbarEnabled: Boolean = true```
|
|
| 206 | + return false // bug_44304 Hide broken translat page action.
|
|
| 209 | 207 | }
|
| 210 | 208 | |
| 211 | 209 | /**
|