Переглянути джерело

CollectionSync: Remove unused return value

Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
Neeraj Gupta 2 роки тому
батько
коміт
be65123544
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      lib/services/collections_service.dart

+ 1 - 2
lib/services/collections_service.dart

@@ -92,7 +92,7 @@ class CollectionsService {
 
   // sync method fetches just sync the collections, not the individual files
   // within the collection.
-  Future<List<Collection>> sync() async {
+  Future<void> sync() async {
     _logger.info("Syncing collections");
     final EnteWatch watch = EnteWatch("syncCollection")..start();
     final lastCollectionUpdationTime =
@@ -152,7 +152,6 @@ class CollectionsService {
         ),
       );
     }
-    return collections;
   }
 
   void clearCache() {