diff options
Diffstat (limited to 'app/src/main/java')
2 files changed, 4 insertions, 4 deletions
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 4d191bd..f0eda52 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 @@ -160,7 +160,7 @@ class DashboardFragment : binding.stateTrackers.setTextColor( getColor( requireContext(), - if (trackersEnabled) R.color.green_on + if (trackersEnabled) R.color.green_valid else R.color.red_off ) ) @@ -173,7 +173,7 @@ class DashboardFragment : binding.stateGeolocation.setTextColor( getColor( requireContext(), - if (geolocEnabled) R.color.green_on + if (geolocEnabled) R.color.green_valid else R.color.red_off ) ) @@ -194,7 +194,7 @@ class DashboardFragment : binding.stateIpAddress.setTextColor( getColor( requireContext(), - if (ipAddressEnabled) R.color.green_on + if (ipAddressEnabled) R.color.green_valid else R.color.red_off ) ) diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/ToggleTrackersAdapter.kt b/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/ToggleTrackersAdapter.kt index e77b61f..9ffdd12 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/ToggleTrackersAdapter.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/features/trackers/apptrackers/ToggleTrackersAdapter.kt @@ -52,7 +52,7 @@ class ToggleTrackersAdapter( spannable.setSpan(UnderlineSpan(), 0, spannable.length, 0) title.text = spannable } else { - title.setTextColor(ContextCompat.getColor(title.context, R.color.black)) + title.setTextColor(ContextCompat.getColor(title.context, R.color.primary_text)) title.text = text } |