mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
Changes applied: Still fucked but working
This commit is contained in:
parent
4136f6d9b9
commit
310dde6573
8 changed files with 18739 additions and 1538 deletions
|
|
@ -27,3 +27,18 @@ struct PlaybackState {
|
|||
var lastUpdated: Date = Date.distantPast
|
||||
var artwork: Data?
|
||||
}
|
||||
|
||||
extension PlaybackState: Equatable {
|
||||
static func == (lhs: PlaybackState, rhs: PlaybackState) -> Bool {
|
||||
return lhs.bundleIdentifier == rhs.bundleIdentifier
|
||||
&& lhs.isPlaying == rhs.isPlaying
|
||||
&& lhs.title == rhs.title
|
||||
&& lhs.artist == rhs.artist
|
||||
&& lhs.album == rhs.album
|
||||
&& lhs.currentTime == rhs.currentTime
|
||||
&& lhs.duration == rhs.duration
|
||||
&& lhs.isShuffled == rhs.isShuffled
|
||||
&& lhs.repeatMode == rhs.repeatMode
|
||||
&& lhs.artwork == rhs.artwork
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue