Преглед изворни кода

Preload remote files as well

Vishnu Mohandas пре 4 година
родитељ
комит
8a6d608f84
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lib/utils/file_util.dart

+ 1 - 1
lib/utils/file_util.dart

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