minor concurrency improvements

This commit is contained in:
neon443 committed 2025-05-29 18:32:54 +01:00
1 parent 69047010d7
commit 2ef000458f
5 files changed
+16 -13

No files matched your search

+2 -2
View File
@@ -248,8 +248,8 @@ class EventViewModel: ObservableObject, @unchecked Sendable {
updateSyncStatus()
loadEvents()
Task {
await checkPendingNotifs(getNotifs())
Task.detached {
await self.checkPendingNotifs(self.getNotifs())
}
WidgetCenter.shared.reloadAllTimelines()//reload all widgets when saving events
objectWillChange.send()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.