[tbb-commits] [Git][tpo/applications/fenix][tor-browser-81.1.1-10.0-1] 2 commits: Bug 40058: Hide option for disallowing addon in private mode
Matthew Finkel
gitlab at torproject.org
Thu Oct 1 18:03:17 UTC 2020
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/f22fa2b557f5152f1167a1acfa2dc3c384a5c6b9...ee0aa80246802b1ed3cd9474b676d74c88bcadf0
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/fenix/-/compare/f22fa2b557f5152f1167a1acfa2dc3c384a5c6b9...ee0aa80246802b1ed3cd9474b676d74c88bcadf0
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20201001/8f504cc4/attachment-0001.htm>
More information about the tbb-commits
mailing list