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

Commit

Permalink
Closes #1790 - Add QuickSettingsChange for TP Toggle Action
Browse files Browse the repository at this point in the history
  • Loading branch information
ekager authored and colintheshots committed Apr 19, 2019
1 parent ac7a9e2 commit 3046efb
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ class QuickSettingsSheetDialogFragment : BottomSheetDialogFragment(), CoroutineS
}
}
launch(Dispatchers.Main) {
getManagedEmitter<QuickSettingsChange>().onNext(
QuickSettingsChange.Change(
url,
isSecured,
trackingEnabled,
sitePermissions
)
)
requireContext().components.useCases.sessionUseCases.reload.invoke()
}
}
Expand Down

0 comments on commit 3046efb

Please sign in to comment.