summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-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 22da470..70607cf 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()