From ca10683501ddc226487085f90774dd7acdcf820a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matu=CC=81s=CC=8C=20Tomlein?= Date: Fri, 29 Mar 2024 12:15:05 +0100 Subject: [PATCH] Fix non-published constructor for MediaPlaybackRateChangeEvent (close #884) --- .../Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift b/Sources/Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift index 86b8d2792..da40e527d 100644 --- a/Sources/Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift +++ b/Sources/Snowplow/Media/Events/MediaPlaybackRateChangeEvent.swift @@ -39,14 +39,14 @@ public class MediaPlaybackRateChangeEvent: SelfDescribingAbstract, MediaPlayerUp /// - Parameter previousRate: Playback rate before the change (1 is normal). If not set, it is taken from the last setting in media player. /// - Parameter newRate: Playback rate after the change (1 is normal) - init(previousRate: Double? = nil, newRate: Double) { + public init(previousRate: Double? = nil, newRate: Double) { self.previousRate = previousRate self.newRate = newRate } /// - Parameter newRate: Playback rate after the change (1 is normal) @objc - init(newRate: Double) { + public init(newRate: Double) { self.newRate = newRate }