Skip to content

Commit

Permalink
Enable animations
Browse files Browse the repository at this point in the history
  • Loading branch information
nachonavarro committed Apr 21, 2020
1 parent 8acdae6 commit 4cdbe4f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Pages/PageViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ struct PageViewController: UIViewControllerRepresentable {
func updateUIViewController(_ pageViewController: UIPageViewController, context: Context) {
let previousPage = context.coordinator.parent.currentPage
context.coordinator.parent = self
print("Current page is \(previousPage), going to \(currentPage)")

pageViewController.setViewControllers(
[controllers[currentPage]],
Expand Down

0 comments on commit 4cdbe4f

Please sign in to comment.