Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/Plugin/Extensions/UIViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ extension UIViewController {
let transition = CATransition()
transition.duration = 0.5
transition.timingFunction = CAMediaTimingFunction(name: CAMediaTimingFunctionName.easeInEaseOut)
transition.type = CATransitionType.push
transition.type = CATransitionType.reveal
if swipeDirection == "up" {
transition.subtype = CATransitionSubtype.fromTop
} else if swipeDirection == "down" {
Expand Down
2 changes: 1 addition & 1 deletion ios/Plugin/OnePhoto/OneImageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class OneImageViewController: UIViewController, UIScrollViewDelegate {
NotificationCenter.default.post(name: .photoviewerExit,
object: nil,
userInfo: vId)
self.dismissWithTransition(swipeDirection: "no")
self.dismissWithTransition(swipeDirection: "down")
// self.dismiss(animated: true, completion: nil)
}

Expand Down
2 changes: 1 addition & 1 deletion ios/Plugin/PhotoSlider/SliderViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class SliderViewController: UIViewController {
object: nil,
userInfo: vId)
}
self.dismissWithTransition(swipeDirection: "no")
self.dismissWithTransition(swipeDirection: "down")
}

// MARK: - shareButtonTapped
Expand Down