Merge branch 'hotfix-v5.12.3-593-vgame_gamedetail_switch' into 'release'
fix: 修复关闭畅玩功能的游戏详情仍然显示畅玩游戏跳转按钮的问题 See merge request halo/android/assistant-android!328
This commit is contained in:
@ -77,6 +77,7 @@ import com.gh.gamecenter.simulatorgame.SimulatorGameActivity
|
||||
import com.gh.gamecenter.tag.TagsActivity
|
||||
import com.gh.gamecenter.user.UserViewModel
|
||||
import com.gh.gamecenter.video.detail.CustomManager
|
||||
import com.gh.vspace.VHelper
|
||||
import com.google.android.material.appbar.AppBarLayout
|
||||
import com.halo.assistant.HaloApp
|
||||
import com.halo.assistant.fragment.WebFragment
|
||||
@ -1833,7 +1834,7 @@ class GameDetailFragment : ToolbarFragment(), IScrollable {
|
||||
}
|
||||
|
||||
private fun showVModeIconAtBottomBarIfNeeded(simpleGame: SimpleGame?, gameEntity: GameEntity) {
|
||||
mDownloadBinding.groupVmode.goneIf(simpleGame == null)
|
||||
mDownloadBinding.groupVmode.goneIf(simpleGame == null || !VHelper.isVGameOn())
|
||||
simpleGame?.let {
|
||||
mDownloadBinding.ivVmode.displayGameIcon(simpleGame.getIcon(), simpleGame.iconSubscript)
|
||||
if (gameEntity.isVGame()) {
|
||||
|
||||
Reference in New Issue
Block a user