Disable background jobs on mobile

This commit is contained in:
Zef Hemel
2023-01-25 18:29:47 +01:00
parent ca8b8d9a84
commit bd152dd297
12 changed files with 139 additions and 101 deletions
+3 -1
View File
@@ -357,7 +357,9 @@ export class SpaceSync {
}
syncCandidates(files: FileMeta[]): FileMeta[] {
return files.filter((f) => !f.name.startsWith("_plug/"));
return files.filter((f) =>
!f.name.startsWith("_plug/") && f.lastModified > 0
);
}
}