瀏覽代碼

fix stupid typo

Neeraj Gupta 3 年之前
父節點
當前提交
c4f7b9abc2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/utils/file_uploader.dart

+ 1 - 1
lib/utils/file_uploader.dart

@@ -239,7 +239,7 @@ class FileUploader {
           )
           )
           ?.value;
           ?.value;
 
 
-      if (pendingEntry == null &&
+      if (pendingEntry != null &&
           pendingEntry.file.fileType == FileType.video &&
           pendingEntry.file.fileType == FileType.video &&
           _currentlyVideoUploading < kMaximumConcurrentVideoUploads) {
           _currentlyVideoUploading < kMaximumConcurrentVideoUploads) {
         // check if there's any non-video entry which can be queued for upload
         // check if there's any non-video entry which can be queued for upload