fix lost User Experience on settings

This commit is contained in:
alves
2025-12-23 18:04:33 +08:00
parent 4f07b65525
commit f121f45390
4 changed files with 27 additions and 4 deletions

View File

@@ -3764,7 +3764,7 @@ if (res) {
} catch (std::exception &) {
// wxMessageBox(e.what(), "", MB_OK);
}
auto isAgree = wxGetApp().app_config->get("snapmaker_privacy_policy", "isagree");
auto isAgree = wxGetApp().app_config->get("app", "isagree");
set_privacy_policy(isAgree == "true");
}
@@ -7072,7 +7072,7 @@ bool GUI_App::run_wizard(ConfigWizard::RunReason reason, ConfigWizard::StartPage
mainframe->refresh_plugin_tips();
// BBS: remove SLA related message
}
auto isAgree = wxGetApp().app_config->get("snapmaker_privacy_policy", "isagree");
auto isAgree = wxGetApp().app_config->get("app", "privacy_policy_isagree");
set_privacy_policy(isAgree == "true");