Fix profile upate task

This commit is contained in:
世界
2023-09-22 18:00:19 +08:00
parent 3374f8e727
commit 58bc9baa05
5 changed files with 33 additions and 21 deletions
@@ -247,5 +247,12 @@ public struct NewProfileView: View {
autoUpdateInterval: autoUpdateInterval,
lastUpdated: lastUpdated
))
if profileType == .remote {
#if os(iOS) || os(tvOS)
try await UIProfileUpdateTask.configure()
#else
try await ProfileUpdateTask.configure()
#endif
}
}
}