修改首页
This commit is contained in:
parent
1eb4186b58
commit
289f695bd2
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user