mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fix build breakage.
This commit is contained in:
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…
Reference in a new issue