Skip to content
Snippets Groups Projects
Unverified Commit ee0aa802 authored by Matthew Finkel's avatar Matthew Finkel
Browse files

Merge remote-tracking branch 'acatgl/40058' into tor-browser-81.1.1-10.0-1

parents f22fa2b5 7097a8cf
Branches
Tags
1 merge request!34Bug 40058: Hide option for disallowing addon in private mode
......@@ -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
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment