From 6ac6cfa81ee63300fb57318404b8def0164af144 Mon Sep 17 00:00:00 2001 From: jacquarg Date: Thu, 13 Jan 2022 09:42:34 +0100 Subject: Update some wodrings. --- .../features/dashboard/DashboardFragment.kt | 9 +++++++-- .../features/trackers/apptrackers/AppTrackersFragment.kt | 2 ++ app/src/main/res/layout/apptrackers_fragment.xml | 8 ++++++++ app/src/main/res/layout/fragment_dashboard.xml | 5 +++-- app/src/main/res/values/strings.xml | 14 ++++++++------ 5 files changed, 28 insertions(+), 10 deletions(-) (limited to 'app/src') diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardFragment.kt b/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardFragment.kt index 142ab0c..ae7bbf0 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardFragment.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/features/dashboard/DashboardFragment.kt @@ -129,8 +129,13 @@ class DashboardFragment : override fun render(state: State) { binding.stateLabel.text = getString( - if (state.isQuickPrivacyEnabled) R.string.dashboard_state_label_on - else R.string.dashboard_state_label_off + if (state.isQuickPrivacyEnabled) R.string.dashboard_state_title_on + else R.string.dashboard_state_title_off + ) + + binding.stateSubtitle.text = getString( + if (state.isQuickPrivacyEnabled) R.string.dashboard_state_subtitle_on + else R.string.dashboard_state_subtitle_off ) binding.togglePrivacyCentral.setImageResource( 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 61f5b58..6b57719 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 @@ -114,6 +114,8 @@ class AppTrackersFragment : override fun render(state: State) { binding.blockAllToggle.isChecked = state.isBlockingActivated + binding.trackersListTitle.isVisible = state.isBlockingActivated + val trackersStatus = state.getTrackersStatus() if (!trackersStatus.isNullOrEmpty()) { binding.trackers.isVisible = true diff --git a/app/src/main/res/layout/apptrackers_fragment.xml b/app/src/main/res/layout/apptrackers_fragment.xml index f037beb..13f58e3 100644 --- a/app/src/main/res/layout/apptrackers_fragment.xml +++ b/app/src/main/res/layout/apptrackers_fragment.xml @@ -63,6 +63,14 @@ android:layout_height="1dp" android:background="@color/grey_divider" /> + Quick Privacy - Your online privacy is not protected - Your online privacy is now protected! - Tap to enable your privacy preferences + Your online privacy is not protected + Your online privacy is now protected! + Tap to disable your privacy preferences + Tap to enable your privacy preferences Trackers: Vulnerable Denied @@ -19,7 +20,7 @@ Last 24 hours %s Trackers - Am I tracked? + Manage trackers %1$d app trackers, %2$d active trackers Apps Permissions Manage your permissions @@ -37,9 +38,9 @@ I can be tracked by my IP address Hide IP address I am anonymous on the internet - Note: when active, this setting will slow down your Internet connectivity speed (uses Thor network). + Note: when active, this setting will slow down your Internet connectivity speed (uses the Tor network). Force a country of origin: - Any country + Random country Apply this setting to all selected apps: @@ -63,6 +64,7 @@ Block trackers + Opt for the trackers you want to activate/desactivate. No trackers were detected yet. If new trackers are detected they will be updated here. No trackers were detected yet. All future trackers will be blocked. -- cgit v1.2.1