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

Clear album are when a cell gets reused

This prevents the wrong album art showing up for albums that don't have
any album are.
This commit is contained in:
Daniel Barber 2019-12-19 10:09:35 -05:00
parent 1d5d87c75b
commit 1dae55c2b8
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -44,6 +44,7 @@ class AlbumViewItem: NSCollectionViewItem {
override func prepareForReuse() {
super.prepareForReuse()
albumCoverView.image = .defaultCoverArt
AlbumDetailView.popover.close()
}