From a4fe2102f85ef30eb31c45df435dfa7058dab7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20=C5=A0vara?= Date: Mon, 4 Mar 2024 13:18:35 +0100 Subject: [PATCH] Make TurboNavigator's `init(session:modalSession:delegate:)` internal to the library. --- Source/Turbo Navigator/TurboNavigator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Turbo Navigator/TurboNavigator.swift b/Source/Turbo Navigator/TurboNavigator.swift index 28f4c27..ceae616 100644 --- a/Source/Turbo Navigator/TurboNavigator.swift +++ b/Source/Turbo Navigator/TurboNavigator.swift @@ -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