Matthew Finkel pushed to branch tor-browser-81.1.1-10.0-1 at The Tor Project / Applications / fenix
Commits: 7097a8cf by Alex Catarineu at 2020-10-01T18:24:16+02:00 Bug 40058: Hide option for disallowing addon in private mode
- - - - - ee0aa802 by Matthew Finkel at 2020-10-01T18:03:05+00:00 Merge remote-tracking branch 'acatgl/40058' into tor-browser-81.1.1-10.0-1
- - - - -
1 changed file:
- app/src/main/java/org/mozilla/fenix/addons/InstalledAddonDetailsFragment.kt
Changes:
===================================== app/src/main/java/org/mozilla/fenix/addons/InstalledAddonDetailsFragment.kt ===================================== @@ -230,7 +230,7 @@ class InstalledAddonDetailsFragment : Fragment() { private fun bindAllowInPrivateBrowsingSwitch(view: View) { val switch = view.allow_in_private_browsing_switch switch.isChecked = addon.isAllowedInPrivateBrowsing() - switch.isVisible = addon.isEnabled() + switch.isVisible = false switch.setOnCheckedChangeListener { v, isChecked -> val addonManager = v.context.components.addonManager switch.isClickable = false
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/f22fa2b557f51...
tor-commits@lists.torproject.org