Skip to content

Commit

Permalink
Fixing NSObject plugin class names
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Dec 2, 2024
1 parent 5f53cbb commit 5b0c67d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Segment/Timeline.swift
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal class Mediator {
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
it["plugin"] = "\(plugin.type)-\(plugin.key)"
} else {
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
}
}
}
Expand All @@ -84,7 +84,7 @@ internal class Mediator {
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
it["plugin"] = "\(plugin.type)-\(plugin.key)"
} else {
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
} }
return plugin === storedPlugin
}
Expand All @@ -109,7 +109,7 @@ internal class Mediator {
if let plugin = plugin as? DestinationPlugin, !plugin.key.isEmpty {
it["plugin"] = "\(plugin.type)-\(plugin.key)"
} else {
it["plugin"] = "\(plugin.type)-\(String(describing: plugin))"
it["plugin"] = "\(plugin.type)-\(String(describing: type(of: plugin)))"
} }
}
}
Expand Down

0 comments on commit 5b0c67d

Please sign in to comment.