Parcourir la source

Disable preloading until relevant ordering can be ensured

Vishnu Mohandas il y a 4 ans
Parent
commit
ff4b620d0d
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      lib/utils/file_util.dart

+ 1 - 1
lib/utils/file_util.dart

@@ -40,7 +40,7 @@ void preloadFile(File file) {
     return;
   }
   if (file.localID == null) {
-    getFileFromServer(file);
+    // getFileFromServer(file);
   } else {
     if (FileLruCache.get(file) == null) {
       file.getAsset().then((asset) {