fix stupid typo

This commit is contained in:
Neeraj Gupta 2022-06-18 20:29:35 +05:30
parent 3e26efb30f
commit c4f7b9abc2
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -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