Skip to content

Commit 77e1f06

Browse files
committed
Update naming of close bar button
1 parent 8fb687b commit 77e1f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SparrowKit/UIKit/Extensions/UIViewControllerExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public extension UIViewController {
9090

9191
#if os(iOS)
9292
@available(iOS 14, *)
93-
func closeBarButtonItem(for sceneName: String? = nil) -> UIBarButtonItem {
93+
func closeBarButtonItem(sceneName: String? = nil) -> UIBarButtonItem {
9494
return UIBarButtonItem.init(systemItem: .close, primaryAction: .init(handler: { [weak self] (action) in
9595
guard let self = self else { return }
9696
if let name = sceneName {

0 commit comments

Comments
 (0)