Quellcode durchsuchen

Remove verbose log

Vishnu Mohandas vor 4 Jahren
Ursprung
Commit
b2384a73eb
1 geänderte Dateien mit 0 neuen und 7 gelöschten Zeilen
  1. 0 7
      lib/ui/shared_collections_gallery.dart

+ 0 - 7
lib/ui/shared_collections_gallery.dart

@@ -51,7 +51,6 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
     return FutureBuilder<SharedCollections>(
       future: Future.value(FilesDB.instance.getLatestCollectionFiles())
           .then((files) async {
-        var startTime = DateTime.now();
         final List<CollectionWithThumbnail> outgoing = [];
         final List<CollectionWithThumbnail> incoming = [];
         for (final file in files) {
@@ -85,12 +84,6 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
           return second.lastUpdatedFile.updationTime
               .compareTo(first.lastUpdatedFile.updationTime);
         });
-
-        var endTime = DateTime.now();
-        var duration = Duration(
-            microseconds: endTime.microsecondsSinceEpoch -
-                startTime.microsecondsSinceEpoch);
-        _logger.info("Total time taken: " + duration.inMilliseconds.toString());
         return SharedCollections(outgoing, incoming);
       }),
       builder: (context, snapshot) {