fix: 解决部分应用图标不显示的问题 (#5080)

This commit is contained in:
zhengkunwang 2024-05-21 16:40:45 +08:00 committed by wanghe-fit2cloud
parent 5e0abeaf47
commit a73d13de00

View file

@ -849,7 +849,7 @@ func (a AppService) SyncAppListFromRemote() (err error) {
return err
}
iconStr := ""
if !strings.Contains(string(body), "xml") {
if !strings.Contains(string(body), "<xml>") {
iconStr = base64.StdEncoding.EncodeToString(body)
}
_ = iconRes.Body.Close()