AlbumOptions
private struct AlbumOptions: ViewModifier
Undocumented
-
The album to show
Declaration
Swift
let album: Audio.Details.Album -
The AppState model
Declaration
Swift
private var appState -
The KodiConnector model
Declaration
Swift
private var kodi -
Show play options or not
Declaration
Swift
private var showOptions: Bool = false -
The opacity of the
ViewDeclaration
Swift
private var opacity: Double = 0 -
The body of the
ViewDeclaration
Swift
func body(content: Content) -> some View -
Play a random album
Declaration
Swift
private func playAlbum(album: Audio.Details.Album, shuffle: Bool)Parameters
albumThe selected album
shuffleBool to shuffle the album or not
View on GitHub