Compare commits

1 Commits

Author SHA1 Message Date
vegardbm b6789a10d7 regex: allow p123-p123 and p123-123 2026-07-14 23:51:59 +02:00
-9
View File
@@ -676,15 +676,6 @@ 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 {