aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/app/passwordstore/ui/settings/SettingsDestination.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/settings/SettingsDestination.kt b/app/src/main/java/app/passwordstore/ui/settings/SettingsDestination.kt
index 9fb25e29..c3809b36 100644
--- a/app/src/main/java/app/passwordstore/ui/settings/SettingsDestination.kt
+++ b/app/src/main/java/app/passwordstore/ui/settings/SettingsDestination.kt
@@ -148,7 +148,8 @@ fun SettingsSectionDestination(
if (value) dialog = SettingsDialog.Autofill
else {
activity.autofillManager?.disableAutofillServices()
- refresh()
+ // hasEnabledAutofillServices() still answers true right after this call.
+ autofillEnabled = false
}
PreferenceKeys.BIOMETRIC_AUTH_2 -> {
fun write() {