mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/5448 - Reload custom tab session when TP is toggled
This commit is contained in:
parent
5a9020df8b
commit
14aab129d6
@ -158,7 +158,9 @@ class TrackingProtectionPanelDialogFragment : AppCompatDialogFragment(), BackHan
|
||||
lifecycleScope.launch {
|
||||
ExceptionDomains(context).toggle(host)
|
||||
}
|
||||
context.components.useCases.sessionUseCases.reload.invoke()
|
||||
with(context.components) {
|
||||
useCases.sessionUseCases.reload.invoke(core.sessionManager.findSessionById(sessionId))
|
||||
}
|
||||
}
|
||||
trackingProtectionStore.dispatch(TrackingProtectionAction.TrackerBlockingChanged(isEnabled))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user