-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't workingswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release
Description
Bug Description
In NotificationToastOverlay.swift:73-79, when a user manually dismisses a toast, the auto-dismiss Task that was spawned continues running. When it fires, it may dismiss a different toast that has since taken the dismissed toast's position.
Location
CreedFlow/Sources/CreedFlow/Views/Notifications/NotificationToastOverlay.swift:73-79
Severity
Important — Wrong toast dismissed after manual dismiss.
Steps to Fix
- Store the Task handle per toast
- Cancel the Task when the toast is manually dismissed
- Check toast identity before auto-dismissing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingswiftSwift/SwiftUI codeSwift/SwiftUI codev1.7.0Target: v1.7.0 releaseTarget: v1.7.0 release