1
1
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:
Daniel Barber 2020-02-02 16:37:02 -05:00
parent 2045f37f5e
commit 5ebddde262
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -128,7 +128,9 @@ class AlbumDetailView: NSViewController {
self.dataSource.albumSongs[1].song
else { return }
self.getBigCoverArt(song: song, album: album)
DispatchQueue.main.async {
self.getBigCoverArt(song: song, album: album)
}
}
}