diff --git a/Passepartout/Library/Sources/AppLibrary/Business/ProfileManager.swift b/Passepartout/Library/Sources/AppLibrary/Business/ProfileManager.swift index f48334e3..df7477c2 100644 --- a/Passepartout/Library/Sources/AppLibrary/Business/ProfileManager.swift +++ b/Passepartout/Library/Sources/AppLibrary/Business/ProfileManager.swift @@ -254,7 +254,6 @@ extension ProfileManager { remoteRepository? .profilesPublisher .dropFirst() - .receive(on: DispatchQueue.main) .sink { [weak self] in self?.importRemoteProfiles($0) } diff --git a/Passepartout/Library/Sources/AppUI/Business/InteractiveManager.swift b/Passepartout/Library/Sources/AppUI/Business/InteractiveManager.swift index 45185b57..481d12c1 100644 --- a/Passepartout/Library/Sources/AppUI/Business/InteractiveManager.swift +++ b/Passepartout/Library/Sources/AppUI/Business/InteractiveManager.swift @@ -33,7 +33,6 @@ final class InteractiveManager: ObservableObject { @Published var isPresented = false - @Published private(set) var editor = ProfileEditor() private var onComplete: CompletionBlock? diff --git a/Passepartout/Library/Sources/AppUI/Domain/EditableProfile.swift b/Passepartout/Library/Sources/AppUI/Domain/EditableProfile.swift index 1d9df138..5214e054 100644 --- a/Passepartout/Library/Sources/AppUI/Domain/EditableProfile.swift +++ b/Passepartout/Library/Sources/AppUI/Domain/EditableProfile.swift @@ -98,6 +98,7 @@ private extension EditableProfile { } } + // FIXME: ###, move to library func checkConstraints() throws { if activeConnectionModule == nil, let ipModule = modules.first(where: { activeModulesIds.contains($0.id) && $0 is IPModule.Builder }) {