Trigger the folder sync without blocking
This commit is contained in:
parent
d042d0dc2e
commit
82af9306f8
1 changed files with 1 additions and 5 deletions
|
@ -45,16 +45,12 @@ void _main() async {
|
|||
}
|
||||
|
||||
void _sync() async {
|
||||
FolderSharingService.instance.sync();
|
||||
try {
|
||||
await PhotoSyncManager.instance.sync();
|
||||
} catch (e) {
|
||||
logger.warning(e);
|
||||
}
|
||||
try {
|
||||
await FolderSharingService.instance.sync();
|
||||
} catch (e) {
|
||||
logger.warning(e);
|
||||
}
|
||||
}
|
||||
|
||||
void _sendErrorToSentry(SentryClient sentry, Object error, StackTrace stack) {
|
||||
|
|
Loading…
Add table
Reference in a new issue