Skip loading image if already loaded

This commit is contained in:
Mads Bjerre 2016-08-31 14:29:58 +02:00
parent a091e2e94e
commit b93e85dad0
1 changed files with 2 additions and 1 deletions

View File

@ -69,8 +69,9 @@ public class SKPhoto: NSObject, SKPhotoProtocol {
public func loadUnderlyingImageAndNotify() {
if underlyingImage != nil && photoURL == nil {
if underlyingImage != nil {
loadUnderlyingImageComplete()
return
}
if photoURL != nil {