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

Fix album reloading issue

All the albums were being forced to reload on update because they come
back with `unLoaded` cover art.
This commit is contained in:
Daniel Barber 2019-04-27 21:14:59 -04:00
parent 6e0c97492b
commit 63afa3ffce
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8

View File

@ -18,7 +18,7 @@ enum Loading<T> {
extension Loading: EnumEquatable {
static func ~= (lhs: Loading<T>, rhs: Loading<T>) -> Bool {
switch (lhs, rhs) {
case (.notLoaded, .notLoaded),
case (_, .notLoaded),
(.loading, .loading),
(.loaded, .loaded),
(.error, .error):