Browse Source

Fix setter

GameJob 4 years ago
parent
commit
d2fd5c74d6
1 changed files with 1 additions and 0 deletions
  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 val onInitListeners = CopyOnWriteArrayList<Runnable>()
     override var isPersonalized: Boolean = true
     override var isPersonalized: Boolean = true
         set(value) {
         set(value) {
+            field = value
             nativeAdManager?.isPersonalized = value
             nativeAdManager?.isPersonalized = value
             interstitialAdManager?.isPersonalized = value
             interstitialAdManager?.isPersonalized = value
         }
         }