rundfunk47 / stinsen

Coordinators in SwiftUI. Simple, powerful and elegant.
MIT License
822 stars 87 forks source link

Fix: Prevent a crash when stack try to dismiss a coordinator without a parent coordinator #124

Closed zalazara closed 9 months ago

zalazara commented 10 months ago

🐛 Fix

🚀 Feat

Example of use

/// Check if the stack has a parent coordinator
if  self.stack.hasParent() {
    self.dismissCoordinator()
}