Commit ca0af31e authored by wanglei's avatar wanglei

=========同步加载广告bug===========

parent 548b0395
...@@ -320,7 +320,7 @@ object AdmobUtils { ...@@ -320,7 +320,7 @@ object AdmobUtils {
private var interAd: InterstitialAd? = null private var interAd: InterstitialAd? = null
fun isInterLoaded() = interAd != null fun isInterLoaded() = interAd != null
fun loadInterstitialAd(activity: Activity, onLoad: (() -> Unit)? = null) { fun loadInterstitialAd(activity: Activity, onLoad: (() -> Unit)? = null) {
loadAppOpenAd() // loadAppOpenAd()
if (isBlack) { if (isBlack) {
EventHelper.event("blacklist_filter") EventHelper.event("blacklist_filter")
onLoad?.invoke() onLoad?.invoke()
......
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