Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
For #9984: Update addon before settings visibility check
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarare authored and Amejia481 committed Apr 16, 2020
1 parent 3e8836f commit 25e12e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ class InstalledAddonDetailsFragment : Fragment() {
addon,
onSuccess = {
runIfFragmentIsAttached {
this.addon = it
switch.isClickable = true
switch.setText(R.string.mozac_feature_addons_enabled)
view.settings.isVisible = shouldSettingsBeVisible()
view.remove_add_on.isEnabled = true
this.addon = it
showSnackBar(
view,
getString(
Expand Down

0 comments on commit 25e12e2

Please sign in to comment.