Skip to content

Commit

Permalink
πŸ› Ensure modal experiences are never cached
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaatttt committed Oct 31, 2023
1 parent 7ba018e commit 92e0d64
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ internal class ExperienceRenderer: ExperienceRendering, StateMachineOwning {

if reason == .preview {
pendingPreviewExperiences[experience.renderContext] = experience
} else {
} else if experience.renderContext != .modal {
// No caching required for modals since they can't be lazy-loaded.
potentiallyRenderableExperiences[experience.renderContext] = [experience]
}

Expand Down

0 comments on commit 92e0d64

Please sign in to comment.