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
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions Sources/Screens/Account/AccountStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import Foundation
import VoltaserveCore

@MainActor
class AccountStore: ObservableObject {
@Published var identityUser: VOIdentityUser.Entity?
@Published var identityUserError: String?
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Browser/BrowserStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class BrowserStore: ObservableObject {
@Published var entities: [VOFile.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/File/FileStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
// swiftlint:disable:next type_body_length
class FileStore: ObservableObject {
@Published var entities: [VOFile.Entity]?
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Group/GroupStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class GroupStore: ObservableObject {
@Published var entities: [VOGroup.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Insights/InsightsStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class InsightsStore: ObservableObject {
@Published var entities: [VOInsights.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Invitation/InvitationStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class InvitationStore: ObservableObject {
@Published var entities: [VOInvitation.Entity]?
@Published var entitiesError: String?
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Mosaic/MosaicStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class MosaicStore: ObservableObject {
@Published var info: VOMosaic.Info?
@Published var infoIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Organization/OrganizationStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class OrganizationStore: ObservableObject {
@Published var entities: [VOOrganization.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Sharing/SharingStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class SharingStore: ObservableObject {
@Published var userPermissions: [VOFile.UserPermission]?
@Published var userPermissionsIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/SignIn/TokenStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class TokenStore: ObservableObject {
@Published var token: VOToken.Value?
private var client = createClient()
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/SignUp/SignUpStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class SignUpStore: ObservableObject {
@Published var passwordRequirements: VOAccount.PasswordRequirements?
@Published var passwordRequirementsIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Snapshot/SnapshotStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class SnapshotStore: ObservableObject {
@Published var entities: [VOSnapshot.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Task/TaskStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class TaskStore: ObservableObject {
@Published var entities: [VOTask.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/User/UserStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
class UserStore: ObservableObject {
@Published var entities: [VOUser.Entity]?
@Published var entitiesIsLoading: Bool = false
Expand Down
1 change: 1 addition & 0 deletions Sources/Screens/Workspace/WorkspaceStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import Combine
import Foundation
import VoltaserveCore

@MainActor
// swiftlint:disable:next type_body_length
class WorkspaceStore: ObservableObject {
@Published var entities: [VOWorkspace.Entity]?
Expand Down