From 63afa3ffce93e6e71193704eacb9d725cda90ebc Mon Sep 17 00:00:00 2001 From: Daniel Barber Date: Sat, 27 Apr 2019 21:14:59 -0400 Subject: [PATCH] Fix album reloading issue All the albums were being forced to reload on update because they come back with `unLoaded` cover art. --- Persephone/Models/Loading.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Persephone/Models/Loading.swift b/Persephone/Models/Loading.swift index db0358d..c81c164 100644 --- a/Persephone/Models/Loading.swift +++ b/Persephone/Models/Loading.swift @@ -18,7 +18,7 @@ enum Loading { extension Loading: EnumEquatable { static func ~= (lhs: Loading, rhs: Loading) -> Bool { switch (lhs, rhs) { - case (.notLoaded, .notLoaded), + case (_, .notLoaded), (.loading, .loading), (.loaded, .loaded), (.error, .error):