瀏覽代碼

Preload files

Vishnu Mohandas 4 年之前
父節點
當前提交
ccf577c1bb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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) {