修改首页

This commit is contained in:
zpc 2024-12-07 11:19:47 +08:00
parent 1eb4186b58
commit 289f695bd2

View File

@ -32,12 +32,12 @@ namespace CloudGaming.Code.Epg
{
CornerIcon = epgCfg.CornerIconId,
EpgId = epgCfg.Id,
ResId = epgCfg.ResId,
ResId = epgCfg.ResId ?? "",
ResType = epgCfg.ResType,
IdName = epgCfg.IdName,
IdName = epgCfg.IdName ?? "",
ImageUrl = epgCfg.ImageId,
Title = epgCfg.Title,
SubTitle = epgCfg.Title2
Title = epgCfg.Title ?? "",
SubTitle = epgCfg.Title2 ?? ""
};
if (epgCfg.ResType == (int)EpgEnum.EpgResType.)
@ -50,11 +50,11 @@ namespace CloudGaming.Code.Epg
if (string.IsNullOrEmpty(epgInfo.Title))
{
epgInfo.Title = gameInfo.GameName;
epgInfo.Title = gameInfo.GameName ?? "";
}
if (string.IsNullOrEmpty(epgInfo.SubTitle))
{
epgInfo.SubTitle = gameInfo.Title2;
epgInfo.SubTitle = gameInfo.Title2 ?? "";
}
if (epgCfg.ImageResStyle == 0)
{