Skip to content

Commit

Permalink
Mark content as stale too
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Olivares committed Jul 4, 2024
1 parent 055beed commit ab8cdcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Turbo Navigator/TurboNavigator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,10 @@ extension TurboNavigator: TurboNavigationHierarchyControllerDelegate {
switch navigationStack {
case .main:
session.markSnapshotCacheAsStale()
session.markContentAsStale()
case .modal:
modalSession.markSnapshotCacheAsStale()
modalSession.markContentAsStale()
}
}
}
Expand Down

0 comments on commit ab8cdcf

Please sign in to comment.