From 619ff807fdb230f1a18919e1e2601557c3b4c3c4 Mon Sep 17 00:00:00 2001 From: Davide Date: Fri, 11 Oct 2024 17:53:41 +0200 Subject: [PATCH] Drop unused code in AppContext --- .../Sources/AppUI/Business/AppContext.swift | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Passepartout/Library/Sources/AppUI/Business/AppContext.swift b/Passepartout/Library/Sources/AppUI/Business/AppContext.swift index 0464761c..36d2d3aa 100644 --- a/Passepartout/Library/Sources/AppUI/Business/AppContext.swift +++ b/Passepartout/Library/Sources/AppUI/Business/AppContext.swift @@ -106,22 +106,6 @@ private extension AppContext { } private extension AppContext { - func installSavedProfile(_ profile: Profile) async throws { - try await tunnel.install(profile, processor: profileProcessor) - } - - func uninstallRemovedProfiles(withIds profileIds: [Profile.ID]) { - Task { - for id in profileIds { - do { - try await tunnel.uninstall(profileId: id) - } catch { - pp_log(.app, .error, "Unable to uninstall profile \(id): \(error)") - } - } - } - } - func syncTunnelIfCurrentProfile(_ profile: Profile) { guard profile.id == tunnel.currentProfile?.id else { return