mirror of
https://github.com/danbee/persephone
synced 2026-08-07 11:22:22 +00:00
We need to run this in the main thread
Because it does UI updates later.
This commit is contained in:
parent
2045f37f5e
commit
5ebddde262
@ -128,9 +128,11 @@ class AlbumDetailView: NSViewController {
|
||||
self.dataSource.albumSongs[1].song
|
||||
else { return }
|
||||
|
||||
DispatchQueue.main.async {
|
||||
self.getBigCoverArt(song: song, album: album)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func getBigCoverArt(song: Song, album: Album) {
|
||||
let provider = MPDAlbumArtImageDataProvider(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user