Skip to content

Commit

Permalink
Make TurboNavigator's init(session:modalSession:delegate:) internal…
Browse files Browse the repository at this point in the history
… to the library.
  • Loading branch information
svara committed Mar 4, 2024
1 parent bc44670 commit a4fe210
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Turbo Navigator/TurboNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ public class TurboNavigator {
}
}

/// Default initializer requiring preconfigured `Session` instances.
/// Internal initializer requiring preconfigured `Session` instances.
///
/// User `init(pathConfiguration:delegate:)` to only provide a `PathConfiguration`.
/// - Parameters:
/// - session: the main `Session`
/// - modalSession: the `Session` used for the modal navigation controller
/// - delegate: _optional:_ delegate to handle custom view controllers
public init(session: Session, modalSession: Session, delegate: TurboNavigatorDelegate? = nil) {
init(session: Session, modalSession: Session, delegate: TurboNavigatorDelegate? = nil) {
self.session = session
self.modalSession = modalSession

Expand Down

0 comments on commit a4fe210

Please sign in to comment.