mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
We're not using these any more
This commit is contained in:
parent
80597cdd56
commit
91fa2f62dc
@ -9,13 +9,6 @@
|
||||
import AppKit
|
||||
import ReSwift
|
||||
|
||||
struct ResetAlbumListCoverArtAction: Action {}
|
||||
|
||||
struct UpdateCoverArtAction: Action {
|
||||
var coverArt: NSImage?
|
||||
var albumIndex: Int
|
||||
}
|
||||
|
||||
struct UpdateAlbumListAction: Action {
|
||||
var albums: [MPDClient.MPDAlbum]
|
||||
}
|
||||
|
||||
@ -15,12 +15,6 @@ func albumListReducer(action: Action, state: AlbumListState?) -> AlbumListState
|
||||
case let action as UpdateAlbumListAction:
|
||||
state.albums = action.albums.map { Album(mpdAlbum: $0) }
|
||||
|
||||
case let action as UpdateCoverArtAction:
|
||||
break
|
||||
|
||||
case is ResetAlbumListCoverArtAction:
|
||||
break
|
||||
|
||||
default:
|
||||
break
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user