diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-06-27 08:39:30 +0200 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-06-27 08:41:07 +0200 |
commit | 9d8a41c475f4882d80118965a407fa97c3669a35 (patch) | |
tree | b9ad8f04736a3a5adc2e6c6ad7c7cb0d6e2da80e /app/src/main | |
parent | 9c084c2110489ec3b1b44549325c8e2e71a968a0 (diff) |
1222: improve hide my ip switch reactivity.
Diffstat (limited to 'app/src/main')
-rw-r--r-- | app/src/main/java/foundation/e/advancedprivacy/domain/usecases/IpScramblingStateUseCase.kt | 1 |
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() |