mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Run post-auth state check with main actor task
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
3d1a5e34bd
commit
46ac0f94da
1 changed files with 21 additions and 19 deletions
|
@ -145,6 +145,7 @@ extension FileProviderExtension: NSFileProviderServicing, ChangeNotificationInte
|
|||
)
|
||||
}
|
||||
|
||||
Task { @MainActor in
|
||||
let newNcAccount =
|
||||
Account(user: user, id: userId, serverUrl: serverUrl, password: password)
|
||||
guard newNcAccount != ncAccount else { return }
|
||||
|
@ -166,6 +167,7 @@ extension FileProviderExtension: NSFileProviderServicing, ChangeNotificationInte
|
|||
signalEnumeratorAfterAccountSetup()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@objc func removeAccountConfig() {
|
||||
Logger.fileProviderExtension.info(
|
||||
|
|
Loading…
Reference in a new issue