Browse Source

fix stupid typo

Neeraj Gupta 3 years ago
parent
commit
c4f7b9abc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/utils/file_uploader.dart

+ 1 - 1
lib/utils/file_uploader.dart

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