Skip to content

Commit

Permalink
Merge pull request #1 from segment-integrations/acharles-open-class
Browse files Browse the repository at this point in the history
change adjust destination from public to open
  • Loading branch information
alanjcharles authored Feb 14, 2024
2 parents 4878796 + 2102248 commit feb3f33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SegmentAdjust/AdjustDestination.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ import Segment
import Adjust

@objc(SEGAdjustDestination)
public class ObjCSegmentAdjust: NSObject, ObjCPlugin, ObjCPluginShim {
open class ObjCSegmentAdjust: NSObject, ObjCPlugin, ObjCPluginShim {
public func instance() -> EventPlugin { return AdjustDestination() }
}

public class AdjustDestination: NSObject, DestinationPlugin {
open class AdjustDestination: NSObject, DestinationPlugin {
public let timeline = Timeline()
public let type = PluginType.destination
public let key = "Adjust"
Expand All @@ -46,7 +46,7 @@ public class AdjustDestination: NSObject, DestinationPlugin {

public override init() { }

public func update(settings: Settings, type: UpdateType) {
open func update(settings: Settings, type: UpdateType) {
// Skip if you have a singleton and don't want to keep updating via settings.
guard type == .initial else { return }

Expand Down

0 comments on commit feb3f33

Please sign in to comment.