From 703d331bd056d655732fd401b473b354723fb372 Mon Sep 17 00:00:00 2001 From: Vishnu Mohandas Date: Sat, 13 Feb 2021 18:00:18 +0530 Subject: [PATCH] Rename file --- lib/services/sync_service.dart | 6 +++--- lib/utils/{file_downloader.dart => diff_fetcher.dart} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/utils/{file_downloader.dart => diff_fetcher.dart} (100%) diff --git a/lib/services/sync_service.dart b/lib/services/sync_service.dart index d28c235d9..3e10f9e36 100644 --- a/lib/services/sync_service.dart +++ b/lib/services/sync_service.dart @@ -16,7 +16,7 @@ import 'package:photos/models/file_type.dart'; import 'package:photos/services/billing_service.dart'; import 'package:photos/services/collections_service.dart'; import 'package:photos/utils/date_time_util.dart'; -import 'package:photos/utils/file_downloader.dart'; +import 'package:photos/utils/diff_fetcher.dart'; import 'package:photos/repositories/file_repository.dart'; import 'package:photo_manager/photo_manager.dart'; import 'package:photos/utils/file_sync_util.dart'; @@ -33,7 +33,7 @@ class SyncService { final _db = FilesDB.instance; final _uploader = FileUploader.instance; final _collectionsService = CollectionsService.instance; - final _downloader = DiffFetcher(); + final _diffFetcher = DiffFetcher(); bool _isSyncInProgress = false; bool _syncStopRequested = false; Future _existingSync; @@ -226,7 +226,7 @@ class SyncService { } Future _syncCollectionDiff(int collectionID) async { - final diff = await _downloader.getEncryptedFilesDiff( + final diff = await _diffFetcher.getEncryptedFilesDiff( collectionID, _collectionsService.getCollectionSyncTime(collectionID), _diffLimit, diff --git a/lib/utils/file_downloader.dart b/lib/utils/diff_fetcher.dart similarity index 100% rename from lib/utils/file_downloader.dart rename to lib/utils/diff_fetcher.dart