1
1
mirror of https://github.com/danbee/persephone synced 2025-03-04 08:39:11 +00:00

Get album list from passed in state

This commit is contained in:
Daniel Barber 2019-05-17 16:38:55 -04:00
parent edcfe49b19
commit 5f19a7401d
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
10 changed files with 76 additions and 1 deletions

View File

@ -0,0 +1,25 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "repeatButton.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "repeatButton@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 573 B

View File

@ -0,0 +1,25 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "repeatButton1.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "repeatButton1@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 337 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 639 B

View File

@ -0,0 +1,25 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "shuffleButton.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "shuffleButton@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

View File

@ -19,7 +19,7 @@ func albumListReducer(action: Action, state: AlbumListState?) -> AlbumListState
state.albums[action.albumIndex].coverArt = .loaded(action.coverArt)
case is ResetAlbumListCoverArtAction:
state.albums = App.store.state.albumListState.albums.map {
state.albums = state.albums.map {
var album = $0
switch album.coverArt {
case .loaded(let coverArt):