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

pull/5088/head
zhengkunwang 2024-05-21 16:40:45 +08:00 committed by GitHub
parent 65f92bf0c3
commit 5e951f028e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

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()