summaryrefslogtreecommitdiff
path: root/DomainDig/DataResetService.swift
diff options
context:
space:
mode:
Diffstat (limited to 'DomainDig/DataResetService.swift')
-rw-r--r--DomainDig/DataResetService.swift3
1 files changed, 2 insertions, 1 deletions
diff --git a/DomainDig/DataResetService.swift b/DomainDig/DataResetService.swift
index e993eba..d4c5bfe 100644
--- a/DomainDig/DataResetService.swift
+++ b/DomainDig/DataResetService.swift
@@ -15,7 +15,7 @@ enum DataResetService {
static func wipeAllLocalData(viewModel: DomainViewModel) async throws {
let secretReferences = await MainActor.run {
- IntegrationService.shared.localSecretReferences()
+ IntegrationService.shared.localSecretReferences() + LocalAPIService.shared.localSecretReferences()
}
try await Task.detached(priority: .userInitiated) {
@@ -28,6 +28,7 @@ enum DataResetService {
await MainActor.run {
IntegrationService.shared.resetAfterLocalWipe()
+ LocalAPIService.shared.resetAfterLocalWipe()
CloudSyncService.shared.resetLocalStateAfterWipe()
PurchaseService.shared.resetCachedStateAfterLocalWipe()
_ = DomainMonitoringScheduler.shared.syncSchedule()