Skip to content

Commit

Permalink
fix: Call to main actor-isolated initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
devahmedshendy committed Sep 24, 2024
1 parent aaf5c7b commit 4487b9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FeedbackKit/FeedbackStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Cache
import Foundation

extension Application {
@MainActor
fileprivate var storedFeedback: FileState<[UUID: Feedback]> {
fileState(initial: [:], filename: "storedFeedback")
}
Expand Down
1 change: 1 addition & 0 deletions Sources/FeedbackKit/FeedbackViewModel.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Combine
import SwiftUI

@MainActor
class FeedbackViewModel: ObservableObject {
private var bag: Set<AnyCancellable>

Expand Down

0 comments on commit 4487b9c

Please sign in to comment.