mirror of
https://github.com/passepartoutvpn/passepartout-apple.git
synced 2025-01-22 08:32:11 +00:00
parent
42bf392fff
commit
59e4e2e4ab
@ -125,7 +125,8 @@ public final class ProfileManager: ObservableObject {
|
||||
processor: ProfileProcessor? = nil,
|
||||
repository: ProfileRepository,
|
||||
backupRepository: ProfileRepository? = nil,
|
||||
mirrorsRemoteRepository: Bool = false
|
||||
mirrorsRemoteRepository: Bool = false,
|
||||
readyAfterRemote: Bool = false
|
||||
) {
|
||||
self.processor = processor
|
||||
self.repository = repository
|
||||
@ -136,7 +137,7 @@ public final class ProfileManager: ObservableObject {
|
||||
allRemoteProfiles = [:]
|
||||
filteredProfiles = []
|
||||
requiredFeatures = [:]
|
||||
if mirrorsRemoteRepository {
|
||||
if readyAfterRemote {
|
||||
waitingObservers = [.local, .remote]
|
||||
} else {
|
||||
waitingObservers = [.local]
|
||||
|
@ -108,7 +108,8 @@ extension AppContext {
|
||||
model: cdRemoteModel,
|
||||
observingResults: false
|
||||
),
|
||||
mirrorsRemoteRepository: dependencies.mirrorsRemoteRepository
|
||||
mirrorsRemoteRepository: dependencies.mirrorsRemoteRepository,
|
||||
readyAfterRemote: true
|
||||
)
|
||||
|
||||
let tunnel = ExtendedTunnel(
|
||||
|
Loading…
Reference in New Issue
Block a user