-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,14 @@ class TurboNavigationController : UINavigationController { | |
} | ||
|
||
// - Create view controller appropriate for url/properties | ||
// - Navigate to that with the correct presentation | ||
let viewController = makeViewController(for: url, properties: properties) | ||
navigate(to: viewController, action: options.action, properties: properties) | ||
|
||
// - Navigate to that with the correct presentation | ||
if session.activeVisitable?.visitableURL != url { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
lazaronixon
Author
Owner
|
||
navigate(to: viewController, action: options.action, properties: properties) | ||
} else { | ||
navigate(to: viewController, action: .replace, properties: properties) | ||
} | ||
|
||
// Initiate the visit with Turbo | ||
if isVisitable(properties) { | ||
|
You might want to think about integrating Turbo Navigator as there are a few more edge cases that could be handled!