Drop unused code in AppContext

This commit is contained in:
Davide 2024-10-11 17:53:41 +02:00
parent f2a141a189
commit 619ff807fd
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 0 additions and 16 deletions

View File

@ -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