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 6ae07469f767faa42abe0d6cf94533c93e3bd3f6..d2d26e60a163b7a17f599c2c8625cf5f7571f12a 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()