summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt b/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt
index 6ae0746..d2d26e6 100644
--- a/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt
+++ b/app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt
@@ -153,6 +153,7 @@ class IpScramblingStateUseCase(
}
private fun applyStartIpScrambling() {
+ localStateRepository.internetPrivacyMode.value = HIDE_IP_LOADING
ipScramblerModule.prepareAndroidVpn()?.let {
permissionsPrivacyModule.setVpnPackageAuthorization(appDesc.packageName)
permissionsPrivacyModule.getAlwaysOnVpnPackage()