From 1dae55c2b8fe3a66b26879a050815e066c16092a Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Thu, 19 Dec 2019 10:09:35 -0500 Subject: [PATCH] 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. --- Persephone/Components/Browser/Album Browser/AlbumViewItem.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Persephone/Components/Browser/Album Browser/AlbumViewItem.swift b/Persephone/Components/Browser/Album Browser/AlbumViewItem.swift index e8cfa31..4d1b357 100644 --- a/Persephone/Components/Browser/Album Browser/AlbumViewItem.swift +++ b/Persephone/Components/Browser/Album Browser/AlbumViewItem.swift @@ -44,6 +44,7 @@ class AlbumViewItem: NSCollectionViewItem { override func prepareForReuse() { super.prepareForReuse() + albumCoverView.image = .defaultCoverArt AlbumDetailView.popover.close() }