Browse Source

Preload files

Vishnu Mohandas 4 năm trước cách đây
mục cha
commit
ccf577c1bb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {