feature add Personal Information Cross-Border Transfer Notice

This commit is contained in:
alves
2025-12-25 12:10:58 +08:00
parent 0302c21415
commit 4ec2812268
7 changed files with 90 additions and 34 deletions

View File

@@ -749,7 +749,10 @@ wxBoxSizer *PreferencesDialog::create_item_checkbox(wxString title, wxWindow *pa
app_config->save();
if (param == "privacy_policy_isagree")
set_privacy_policy(checkbox->GetValue());
{
app_config->set("app", "privacy_policy_isagree", checkbox->GetValue());
set_privacy_policy(checkbox->GetValue());
}
// if (param == "staff_pick_switch") {
// bool pbool = app_config->get("staff_pick_switch") == "true";
// wxGetApp().switch_staff_pick(pbool);