Move private function further down
This commit is contained in:
parent
f9918c16d3
commit
74ac0326fe
1 changed files with 7 additions and 7 deletions
|
@ -162,13 +162,6 @@ class SyncService {
|
|||
}, UserCancelledUploadError());
|
||||
}
|
||||
|
||||
Future<void> _doSync() async {
|
||||
await _localSyncService.sync();
|
||||
if (_localSyncService.hasCompletedFirstImport()) {
|
||||
await _remoteSyncService.sync();
|
||||
}
|
||||
}
|
||||
|
||||
Future<void> deleteFilesOnServer(List<int> fileIDs) async {
|
||||
return await _dio
|
||||
.post(Configuration.instance.getHttpEndpoint() + "/files/delete",
|
||||
|
@ -182,6 +175,13 @@ class SyncService {
|
|||
});
|
||||
}
|
||||
|
||||
Future<void> _doSync() async {
|
||||
await _localSyncService.sync();
|
||||
if (_localSyncService.hasCompletedFirstImport()) {
|
||||
await _remoteSyncService.sync();
|
||||
}
|
||||
}
|
||||
|
||||
void _showStorageLimitExceededNotification() async {
|
||||
final lastNotificationShownTime =
|
||||
_prefs.getInt(kLastStorageLimitExceededNotificationPushTime) ?? 0;
|
||||
|
|
Loading…
Reference in a new issue