summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/AppTrackersFragment.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/AppTrackersFragment.kt b/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/AppTrackersFragment.kt
index 4ccdc59..61f5b58 100644
--- a/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/AppTrackersFragment.kt
+++ b/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/AppTrackersFragment.kt
@@ -93,9 +93,9 @@ class AppTrackersFragment :
binding = ApptrackersFragmentBinding.bind(view)
// TODO: crash sqlite ?
- // binding.blockAllToggle.setOnClickListener {
- // viewModel.submitAction(Action.BlockAllToggleAction(binding.blockAllToggle.isChecked))
- // }
+ binding.blockAllToggle.setOnClickListener {
+ viewModel.submitAction(Action.BlockAllToggleAction(binding.blockAllToggle.isChecked))
+ }
binding.trackers.apply {
layoutManager = LinearLayoutManager(requireContext())