FIX: hide model mall before setup wizard

Change-Id: I0d2abc43cb6c8432a369cdbdd6a88d65dc141ce2
This commit is contained in:
chunmao.guo 2023-06-26 21:02:09 +08:00 committed by Lane.Wei
parent f55f4e60bb
commit 1dc030b221

View file

@ -3001,7 +3001,7 @@ void GUI_App::update_publish_status()
bool GUI_App::has_model_mall() bool GUI_App::has_model_mall()
{ {
if (app_config->get_country_code() == "CN") if (auto cc = app_config->get_country_code(); cc == "CN" || cc == "")
return false; return false;
return true; return true;
} }