Skip to content

Commit

Permalink
Fix non-published constructor for MediaPlaybackRateChangeEvent (close #…
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-tomlein committed Mar 29, 2024
1 parent 6b50e44 commit ca10683
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit ca10683

Please sign in to comment.