Skip to content

Commit

Permalink
Fix Mac Catalyst Example
Browse files Browse the repository at this point in the history
  • Loading branch information
msaps committed Nov 3, 2022
1 parent 80dadc7 commit b4da5db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/iOS/Extras/PageboyTouchBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension PageViewController: NSTouchBarDelegate {
touchBarItem = NSButtonTouchBarItem(identifier: identifier,
image: image,
target: self,
action: #selector(PageViewController.previousPage(_:)))
action: #selector(PageViewController.scrollToPreviousPage(_:)))

case .nextPage:
guard let image = UIImage(systemName: "chevron.right") else {
Expand All @@ -52,7 +52,7 @@ extension PageViewController: NSTouchBarDelegate {
touchBarItem = NSButtonTouchBarItem(identifier: identifier,
image: image,
target: self,
action: #selector(PageViewController.nextPage(_:)))
action: #selector(PageViewController.scrollToNextPage(_:)))

default:
touchBarItem = nil
Expand Down

0 comments on commit b4da5db

Please sign in to comment.