Fix enable/disable Update notification settings.

This commit is contained in:
gerlofvanek
2025-10-21 08:56:47 +02:00
parent 95da26211b
commit 7755b4c505
3 changed files with 22 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ def page_settings(self, url_split, post_string):
get_data_entry_or(form_data, "notifications_duration", "20")
),
"check_updates": toBool(
get_data_entry_or(form_data, "check_updates", "true")
get_data_entry_or(form_data, "check_updates", "false")
),
}
swap_client.editGeneralSettings(data)
@@ -242,6 +242,7 @@ def page_settings(self, url_split, post_string):
"notifications_duration": swap_client.settings.get(
"notifications_duration", 20
),
"check_updates": swap_client.settings.get("check_updates", True),
}
tor_control_password = (