diff --git a/Passepartout/App/Platforms/App+macOS.swift b/Passepartout/App/Platforms/App+macOS.swift index aac81c80..33989c36 100644 --- a/Passepartout/App/Platforms/App+macOS.swift +++ b/Passepartout/App/Platforms/App+macOS.swift @@ -85,7 +85,6 @@ extension PassepartoutApp { MenuBarExtra { AppMenu( profileManager: context.profileManager, - profileProcessor: context.profileProcessor, tunnel: context.tunnel ) .withEnvironment(from: context, theme: theme) diff --git a/Passepartout/Library/Sources/AppDataProfiles/CDProfileRepositoryV3.swift b/Passepartout/Library/Sources/AppDataProfiles/CDProfileRepositoryV3.swift index c8b4a564..3bbffa22 100644 --- a/Passepartout/Library/Sources/AppDataProfiles/CDProfileRepositoryV3.swift +++ b/Passepartout/Library/Sources/AppDataProfiles/CDProfileRepositoryV3.swift @@ -68,13 +68,7 @@ private extension AppData { return nil } let profile = try registry.decodedProfile(from: encoded, with: coder) - var builder = profile.builder() - builder.attributes = ProfileAttributes( - isAvailableForTV: cdEntity.isAvailableForTV?.boolValue ?? false, - lastUpdate: cdEntity.lastUpdate, - fingerprint: cdEntity.fingerprint - ) - return try builder.tryBuild() + return profile } static func toMapper( diff --git a/Passepartout/Library/Sources/AppUIMain/Views/About/CreditsView.swift b/Passepartout/Library/Sources/AppUIMain/Views/About/CreditsView.swift index 941d1025..4710e857 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/About/CreditsView.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/About/CreditsView.swift @@ -23,6 +23,7 @@ // along with Passepartout. If not, see . // +import CommonLibrary import CommonUtils import SwiftUI diff --git a/Passepartout/Library/Sources/AppUIMain/Views/App/ProviderEntitySelector.swift b/Passepartout/Library/Sources/AppUIMain/Views/App/ProviderEntitySelector.swift index fd971681..54de04ff 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/App/ProviderEntitySelector.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/App/ProviderEntitySelector.swift @@ -30,9 +30,6 @@ import SwiftUI struct ProviderEntitySelector: View { - @EnvironmentObject - private var profileProcessor: ProfileProcessor - @ObservedObject var profileManager: ProfileManager diff --git a/Passepartout/Library/Sources/AppUIMain/Views/App/TunnelRestartButton.swift b/Passepartout/Library/Sources/AppUIMain/Views/App/TunnelRestartButton.swift index bfa5477a..2b27f3a5 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/App/TunnelRestartButton.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/App/TunnelRestartButton.swift @@ -30,9 +30,6 @@ import SwiftUI struct TunnelRestartButton