Skip to content

Commit ae8c066

Browse files
authored
Merge pull request #90 from tim-vandecasteele/feature/make-session-external
Make session and modalSession public
2 parents 0bc9f80 + e1feaa8 commit ae8c066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/Turbo/Navigator/Navigator.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ public class Navigator {
1919
}
2020
return modalSession.webView
2121
}
22+
public private(set) var session: Session
23+
public private(set) var modalSession: Session
2224

2325
/// Set to handle customize behavior of the `WKUIDelegate`.
2426
///
@@ -125,8 +127,6 @@ public class Navigator {
125127

126128
// MARK: Internal
127129

128-
var session: Session
129-
var modalSession: Session
130130
/// Modifies a UINavigationController according to visit proposals.
131131
lazy var hierarchyController = NavigationHierarchyController(delegate: self)
132132

0 commit comments

Comments
 (0)