Skip to content

Commit

Permalink
Rename constant from cleanedRawValue to metadataCleaned
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolassrod committed Apr 3, 2020
1 parent eb7f9b7 commit 71848c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/FRadioPlayer/FRadioPlayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ open class FRadioPlayer: NSObject {
}

private func timedMetadataDidChange(rawValue: String?) {
let cleanedRawValue = cleanMetadata(rawValue)
let parts = cleanedRawValue?.components(separatedBy: " - ")
let metadataCleaned = cleanMetadata(rawValue)
let parts = metadataCleaned?.components(separatedBy: " - ")
delegate?.radioPlayer?(self, metadataDidChange: parts?.first, trackName: parts?.last)
delegate?.radioPlayer?(self, metadataDidChange: rawValue)
shouldGetArtwork(for: rawValue, enableArtwork)
Expand Down

0 comments on commit 71848c2

Please sign in to comment.