mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-03 20:48:02 +08:00
improve assets_manager_set_theme
This commit is contained in:
parent
ac14e9032d
commit
0de710dd88
@ -551,6 +551,7 @@ ret_t assets_manager_set_theme(assets_manager_t* am, const char* theme) {
|
|||||||
am->theme = tk_str_copy(am->theme, theme);
|
am->theme = tk_str_copy(am->theme, theme);
|
||||||
assets_manager_clear_cache(am, ASSET_TYPE_UI);
|
assets_manager_clear_cache(am, ASSET_TYPE_UI);
|
||||||
assets_manager_clear_cache(am, ASSET_TYPE_STYLE);
|
assets_manager_clear_cache(am, ASSET_TYPE_STYLE);
|
||||||
|
assets_manager_clear_cache(am, ASSET_TYPE_FONT);
|
||||||
|
|
||||||
return RET_OK;
|
return RET_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user