Przeglądaj źródła

fix another typo

Neeraj Gupta 3 lat temu
rodzic
commit
22a46e2f25
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      lib/utils/file_uploader.dart

+ 1 - 1
lib/utils/file_uploader.dart

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