xugenyuan

ref |> 处理一处误处理直播弹wifi提示

Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
... ... @@ -108,6 +108,8 @@ export struct TopPlayComponent {
this.resizeWindow()
if (this.liveDetailPageLogic.livingNeedShowNoWifiTip()) {
onlyWifiLoadVideo().then((onlyWifiLoadVideo) => {
if (!onlyWifiLoadVideo) {
this.livingDialogToast = new CustomDialogController({
builder: CustomToast({
bgColor: 0xB3000000,
... ... @@ -123,6 +125,8 @@ export struct TopPlayComponent {
maskColor: "#00000000"
})
this.livingDialogToast.open()
}
})
} else if (this.liveDetailPageLogic.noLivingNeedShowNoWifiTip()) {
onlyWifiLoadVideo().then((onlyWifiLoadVideo) => {
if (!onlyWifiLoadVideo) {
... ...