Skip to content

Commit

Permalink
Request a refresh with the topmost visitable
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Olivares committed Jul 4, 2024
1 parent 7e26510 commit 5116ec2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Turbo Navigator/TurboNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,13 @@ extension TurboNavigator: TurboNavigationHierarchyControllerDelegate {
switch navigationStack {
case .main:
session.visit(newTopmostVisitable,
options: .init(action: .replace),
reload: true)
options: .init(action: .replace))
case .modal:
modalSession.visit(newTopmostVisitable,
options: .init(action: .replace),
reload: true)
options: .init(action: .replace))
}

newTopmostVisitable.visitableViewDidRequestRefresh()
}
}

Expand Down

0 comments on commit 5116ec2

Please sign in to comment.