summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorjacquarg <guillaume.jacquart@hoodbrains.com>2022-01-21 09:28:41 +0100
committerjacquarg <guillaume.jacquart@hoodbrains.com>2022-01-26 18:43:08 +0100
commitd289ac7d62b4bb0311f145618347b2b81449664d (patch)
treea093b963fba9fd759e826396cd0d196b787fc0c2 /app/src/main/java
parent464d596efd5668baef0563127984dd43482c9235 (diff)
Fix radio btn auto-toggle on My Internet Privacy open.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/foundation/e/privacycentralapp/features/internetprivacy/InternetPrivacyFeature.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/foundation/e/privacycentralapp/features/internetprivacy/InternetPrivacyFeature.kt b/app/src/main/java/foundation/e/privacycentralapp/features/internetprivacy/InternetPrivacyFeature.kt
index 26370cf..6ff3d27 100644
--- a/app/src/main/java/foundation/e/privacycentralapp/features/internetprivacy/InternetPrivacyFeature.kt
+++ b/app/src/main/java/foundation/e/privacycentralapp/features/internetprivacy/InternetPrivacyFeature.kt
@@ -107,7 +107,7 @@ class InternetPrivacyFeature(
appListUseCase: AppListUseCase,
availablesLocationsIds: List<String>,
initialState: State = State(
- mode = InternetPrivacyMode.REAL_IP,
+ mode = ipScramblingStateUseCase.internetPrivacyMode.value,
availableApps = emptyList(),
bypassTorApps = emptyList(),
availableLocationIds = availablesLocationsIds,