Skip to content

Commit

Permalink
fix: change cta button tap handler
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasan Can Aslan committed Jan 10, 2023
1 parent b63bab6 commit 470a713
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public class ImageCarouselViewController: UIPageViewController, ImageViewerTrans

@objc
func didTapCTAButton(_ sender: Any) {
guard let onTap = onRightNavBarTapped,
guard let onTap = onCTAButtonTapped,
let _firstVC = viewControllers?.first as? ImageViewerController
else { return }
onTap(_firstVC.index)
Expand Down

0 comments on commit 470a713

Please sign in to comment.