|
@@ -241,7 +241,7 @@ class FileUploader {
|
|
|
|
|
|
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
|
|
pendingEntry = _queue.entries
|
|
pendingEntry = _queue.entries
|
|
.firstWhere(
|
|
.firstWhere(
|