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

+1 -1
View File
@@ -76,7 +76,7 @@ class SettingsViewModel: ObservableObject {
self.device = getDevice()
if load {
loadSettings()
Task {
Task.detached {
let requestResult = await requestNotifs()
await MainActor.run {
self.notifsGranted = requestResult
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.