fix errors after cherry picking commits

This commit is contained in:
SoftFever 2023-08-27 22:44:37 +08:00
parent 85251de418
commit 9bab2e2efa
12 changed files with 522 additions and 245 deletions

View file

@ -335,6 +335,9 @@ void AppConfig::set_defaults()
// }
// #endif
if (get("allow_ip_resolve").empty())
set("allow_ip_resolve", "1");
if (get("presets", "filament_colors").empty()) {
set_str("presets", "filament_colors", "#F2754E");
}