mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-13 07:10:28 +00:00
Bug 1867297 - Remove the use of BLOCKED_PERMISSIONS
This commit is contained in:
parent
a342064ccc
commit
95300eee12
@ -176,14 +176,14 @@ class AddonsManagementFragment : Fragment(R.layout.fragment_add_ons_management)
|
|||||||
binding?.let { announceForAccessibility(it.addonProgressOverlay.addOnsOverlayText.text) }
|
binding?.let { announceForAccessibility(it.addonProgressOverlay.addOnsOverlayText.text) }
|
||||||
}
|
}
|
||||||
val installOperation = provideAddonManger().installAddon(
|
val installOperation = provideAddonManger().installAddon(
|
||||||
addon,
|
url = addon.downloadUrl,
|
||||||
onSuccess = {
|
onSuccess = {
|
||||||
runIfFragmentIsAttached {
|
runIfFragmentIsAttached {
|
||||||
adapter?.updateAddon(it)
|
adapter?.updateAddon(it)
|
||||||
binding?.addonProgressOverlay?.overlayCardView?.visibility = View.GONE
|
binding?.addonProgressOverlay?.overlayCardView?.visibility = View.GONE
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onError = { _, _ ->
|
onError = { _ ->
|
||||||
binding?.addonProgressOverlay?.overlayCardView?.visibility = View.GONE
|
binding?.addonProgressOverlay?.overlayCardView?.visibility = View.GONE
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user