Skip to content

Commit

Permalink
Fix was added to the wrong class.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsligh committed Jul 25, 2024
1 parent 936648c commit 7eab839
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,6 @@ public class PrebidAdMobNativeAdapter:

public var store: String?

public var privacyUrl: String? {
set {
prebidNativeAd?.nativeAdMarkup?.privacy = newValue
}
get {
return prebidNativeAd?.nativeAdMarkup?.privacy
}
}

public var price: String? {
prebidNativeAd?.dataObjects(of: .salePrice).first?.value
}
Expand Down
9 changes: 9 additions & 0 deletions PrebidMobile/AdUnits/Native/NativeAd.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ public class NativeAd: NSObject, CacheExpiryDelegate {

private let eventManager = EventManager()

public var privacyUrl: String? {
set {
nativeAdMarkup?.privacy = newValue
}
get {
return nativeAdMarkup?.privacy
}
}

// MARK: - Array getters

@objc public var titles: [NativeTitle] {
Expand Down

0 comments on commit 7eab839

Please sign in to comment.