Fix build breakage.

pull/1/head
Matthew Chen 7 years ago
parent 80585126d9
commit 9641edbfd2

@ -771,7 +771,7 @@ extension MediaPageViewController: GalleryRailViewDelegate {
return return
} }
let direction: NavigationDirection = currentItem.albumIndex < targetItem.albumIndex ? .forward : .reverse let direction: UIPageViewControllerNavigationDirection = currentItem.albumIndex < targetItem.albumIndex ? .forward : .reverse
self.setCurrentItem(targetItem, direction: direction, animated: true) self.setCurrentItem(targetItem, direction: direction, animated: true)
} }

@ -68,7 +68,7 @@ public class CaptionContainerView: UIView {
pendingCaptionView.autoPinEdge(toSuperviewEdge: .top, withInset: 0, relation: .greaterThanOrEqual) pendingCaptionView.autoPinEdge(toSuperviewEdge: .top, withInset: 0, relation: .greaterThanOrEqual)
} }
required init?(coder aDecoder: NSCoder) { public required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented") fatalError("init(coder:) has not been implemented")
} }

Loading…
Cancel
Save