Skip to content

Commit

Permalink
Make sure stuff runs on MainActor
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Aug 29, 2024
1 parent 86e2942 commit 71c0429
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/SpeziTimedWalkTest/TimedWalkTestRunningView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ struct TimedWalkTestRunningView: View {
.modifier(TimedWalkTestCancelModifier())
}



@MainActor
private func start() async {
withAnimation {
prepareCountDown = Date.now.addingTimeInterval(5)
Expand Down

0 comments on commit 71c0429

Please sign in to comment.