mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Fix: Migrations
This commit is contained in:
parent
471fb6723e
commit
be152c1531
41 changed files with 2373 additions and 1321 deletions
|
|
@ -7,6 +7,12 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
enum RepeatMode: Int, Codable {
|
||||
case off = 1
|
||||
case one = 2
|
||||
case all = 3
|
||||
}
|
||||
|
||||
struct PlaybackState {
|
||||
var bundleIdentifier: String
|
||||
var isPlaying: Bool = false
|
||||
|
|
@ -16,8 +22,8 @@ struct PlaybackState {
|
|||
var currentTime: Double = 0
|
||||
var duration: Double = 0
|
||||
var playbackRate: Double = 1
|
||||
var isShuffled: Bool? = nil
|
||||
var isRepeating: Bool? = nil
|
||||
var isShuffled: Bool = false
|
||||
var repeatMode: RepeatMode = .off
|
||||
var lastUpdated: Date = Date.distantPast
|
||||
var artwork: Data?
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue