Selaa lähdekoodia

fix stupid typo

Neeraj Gupta 3 vuotta sitten
vanhempi
commit
c4f7b9abc2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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