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
View
Declaration
Swift
private var opacity: Double = 0
-
The body of the
View
Declaration
Swift
func body(content: Content) -> some View
-
Play a random album
Declaration
Swift
private func playAlbum(album: Audio.Details.Album, shuffle: Bool)
Parameters
album
The selected album
shuffle
Bool to shuffle the album or not