浏览代码

Fix setter

GameJob 4 年之前
父节点
当前提交
d2fd5c74d6
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/kdanmobile/admanager/admob/AdmobAdManager.kt

+ 1 - 0
src/main/java/com/kdanmobile/admanager/admob/AdmobAdManager.kt

@@ -15,6 +15,7 @@ class AdmobAdManager : AdManager {
     override val onInitListeners = CopyOnWriteArrayList<Runnable>()
     override var isPersonalized: Boolean = true
         set(value) {
+            field = value
             nativeAdManager?.isPersonalized = value
             interstitialAdManager?.isPersonalized = value
         }