Skip loading image if already loaded
This commit is contained in:
parent
a091e2e94e
commit
b93e85dad0
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue