mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +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,7 +128,9 @@ class AlbumDetailView: NSViewController {
|
|||||||
self.dataSource.albumSongs[1].song
|
self.dataSource.albumSongs[1].song
|
||||||
else { return }
|
else { return }
|
||||||
|
|
||||||
self.getBigCoverArt(song: song, album: album)
|
DispatchQueue.main.async {
|
||||||
|
self.getBigCoverArt(song: song, album: album)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user