Explorar o código

Preload files

Vishnu Mohandas %!s(int64=4) %!d(string=hai) anos
pai
achega
ccf577c1bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {