Commit 900e8da9 authored by DavidHuang's avatar DavidHuang

处理 一处 兼容的问题

parent cde61518
...@@ -508,17 +508,13 @@ class YHLivePlayerViewController: YHBasePlayerViewController { ...@@ -508,17 +508,13 @@ class YHLivePlayerViewController: YHBasePlayerViewController {
oldUrl = oldUrl + "?appDeepLink=\(tmpT)" oldUrl = oldUrl + "?appDeepLink=\(tmpT)"
} }
DispatchQueue.main.async {
YHShareAlertView.show(image: liveModel.live_image, title: "@" + liveModel.account, subMessage: liveModel.live_title, linkUrl: oldUrl, isLive: true, fromAiSale: true) YHShareAlertView.show(image: liveModel.live_image, title: "@" + liveModel.account, subMessage: liveModel.live_title, linkUrl: oldUrl, isLive: true, fromAiSale: true)
}
return return
} }
DispatchQueue.main.async {
YHShareAlertView.show(image: liveModel.live_image, title: "@" + liveModel.account, subMessage: liveModel.live_title, linkUrl: liveModel.live_h5_url, isLive: true, fromAiSale: true) YHShareAlertView.show(image: liveModel.live_image, title: "@" + liveModel.account, subMessage: liveModel.live_title, linkUrl: liveModel.live_h5_url, isLive: true, fromAiSale: true)
} }
} }
} }
}
private func showGoods() { private func showGoods() {
let list = viewModel.liveDetailModel?.goods ?? [] let list = viewModel.liveDetailModel?.goods ?? []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment