Commit 8031e181 authored by Alex Catarineu's avatar Alex Catarineu
Browse files

fixup! Bug 40058: Hide option for disallowing addon in private mode

Fixes #40086: Disabling/Enabling addon still shows option to
disallow in private mode.
parent 460d5891
......@@ -113,7 +113,7 @@ class InstalledAddonDetailsFragment : Fragment() {
runIfFragmentIsAttached {
this.addon = it
switch.isClickable = true
privateBrowsingSwitch.isVisible = it.isEnabled()
privateBrowsingSwitch.isVisible = false
privateBrowsingSwitch.isChecked = it.isAllowedInPrivateBrowsing()
view.settings.isVisible = shouldSettingsBeVisible()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment