From 5b0c67dd33b116f78390397671640c1ec5316d7d Mon Sep 17 00:00:00 2001 From: Michael Grosse Huelsewiesche Date: Mon, 2 Dec 2024 16:35:55 -0500 Subject: [PATCH] Fixing NSObject plugin class names --- Sources/Segment/Timeline.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Segment/Timeline.swift b/Sources/Segment/Timeline.swift index 3ab7a2b..4f9901d 100644 --- a/Sources/Segment/Timeline.swift +++ b/Sources/Segment/Timeline.swift @@ -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)))" } } } @@ -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 } @@ -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)))" } } } }