Skip to content

Commit 289c34a

Browse files
committed
Improve PaginationView performance
1 parent fe9fca4 commit 289c34a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Intermodular/Helpers/UIKit/UIHostingPageViewController.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ class UIHostingPageViewController<Page: View>: UIPageViewController, _opaque_UIH
157157
}
158158

159159
let activePageTransitionProgress = (scrollView.contentOffset.x - view.frame.size.width) / view.frame.size.width
160-
160+
161161
if paginationState != nil {
162-
_pageUpdateDriver.objectWillChange.send()
162+
// _pageUpdateDriver.objectWillChange.send() // FIXME: This does not perform well.
163163
}
164164

165165
if activePageTransitionProgress == 0 {

0 commit comments

Comments
 (0)