Add workaround for bulkBarrierPreWrite: unaligned arguments

This commit is contained in:
世界
2024-12-14 20:12:26 +08:00
parent fe7dd4322f
commit ba6f99bc34
4 changed files with 6 additions and 15 deletions
+1 -2
View File
@@ -24,7 +24,7 @@ public extension Profile {
try write(remoteContent)
try await onProfileUpdated()
}
nonisolated func onProfileUpdated() async throws {
if await SharedPreferences.selectedProfileID.get() == id {
if let profile = try? await ExtensionProfile.load() {
@@ -34,5 +34,4 @@ public extension Profile {
}
}
}
}