Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: MainActor isolation warning #58

Merged
merged 2 commits into from
Jan 24, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
refactor: adjust linter comment
  • Loading branch information
bouassaba committed Jan 24, 2025
commit 9b083283bdf4a68564e0e7de23db14a51beee76e
2 changes: 1 addition & 1 deletion Sources/Screens/File/FileStore.swift
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@ import Combine
import Foundation
import VoltaserveCore

// swiftlint:disable:next type_body_length
@MainActor
// swiftlint:disable:next type_body_length
class FileStore: ObservableObject {
@Published var entities: [VOFile.Entity]?
@Published var entitiesIsLoading: Bool = false
2 changes: 1 addition & 1 deletion Sources/Screens/Workspace/WorkspaceStore.swift
Original file line number Diff line number Diff line change
@@ -12,8 +12,8 @@ import Combine
import Foundation
import VoltaserveCore

// swiftlint:disable:next type_body_length
@MainActor
// swiftlint:disable:next type_body_length
class WorkspaceStore: ObservableObject {
@Published var entities: [VOWorkspace.Entity]?
@Published var entitiesIsLoading: Bool = false