Minor fixes

This commit is contained in:
世界 committed 2024-10-13 21:16:49 +08:00
1 parent 5e2af0a5c7
commit 6d4ed01a6d
6 files changed
+22 -13

No files matched your search

@@ -162,7 +162,7 @@ public struct EditProfileView: View {
do {
_ = try await ProfileManager.update(profile)
#if os(iOS) || os(tvOS)
try await UIProfileUpdateTask.configure()
try UIProfileUpdateTask.configure()
#else
try await ProfileUpdateTask.configure()
#endif
@@ -243,7 +243,7 @@ public struct NewProfileView: View {
))
if profileType == .remote {
#if os(iOS) || os(tvOS)
try await UIProfileUpdateTask.configure()
try UIProfileUpdateTask.configure()
#else
try await ProfileUpdateTask.configure()
#endif