Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
e94e94f173
|
|||
|
0f1dc88b87
|
@@ -676,6 +676,15 @@ class ViewController: UIViewController, UIGestureRecognizerDelegate {
|
|||||||
if scrollingCollectionView.isHidden == true || mode != .scroll
|
if scrollingCollectionView.isHidden == true || mode != .scroll
|
||||||
|| scrollingCollectionView.contentSize == .zero
|
|| scrollingCollectionView.contentSize == .zero
|
||||||
{
|
{
|
||||||
|
if metadata == nil { return }
|
||||||
|
imageLoader.loadImage(
|
||||||
|
archiveURL: getArchiveURL(progress.v),
|
||||||
|
filename: getImagePath(progress),
|
||||||
|
scaling: .scaleAspectFit,
|
||||||
|
screenSize: UIScreen.main.bounds.size
|
||||||
|
) { image in
|
||||||
|
self.imageView.image = image
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if !hasSetContentOffset, scrollPos != nil {
|
if !hasSetContentOffset, scrollPos != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user