Skip to content

Commit

Permalink
Better dismiss modal button
Browse files Browse the repository at this point in the history
  • Loading branch information
lazaronixon committed Sep 12, 2023
1 parent abcecea commit 046eee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ViewController: VisitableViewController, ErrorPresenter {
}

private lazy var dismissModalButton = {
UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(dismissModal))
UIBarButtonItem(image: UIImage(systemName: "chevron.down"), style: .plain, target: self, action: #selector(dismissModal))
}()

@objc private func dismissModal() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class ViewController: VisitableViewController, ErrorPresenter {
}

private lazy var dismissModalButton = {
UIBarButtonItem(barButtonSystemItem: .cancel, target: self, action: #selector(dismissModal))
UIBarButtonItem(image: UIImage(systemName: "chevron.down"), style: .plain, target: self, action: #selector(dismissModal))
}()

@objc private func dismissModal() {
Expand Down

0 comments on commit 046eee9

Please sign in to comment.