Remove blocking condition for video
This commit is contained in:
parent
49af595268
commit
d6b4f16b5c
1 changed files with 0 additions and 4 deletions
|
@ -12,7 +12,6 @@ import 'package:photos/utils/file_downloader.dart';
|
|||
import 'package:photos/repositories/file_repository.dart';
|
||||
import 'package:photo_manager/photo_manager.dart';
|
||||
import 'package:photos/utils/file_uploader.dart';
|
||||
import 'package:photos/models/file_type.dart';
|
||||
import 'package:photos/utils/file_name_util.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:dio/dio.dart';
|
||||
|
@ -210,9 +209,6 @@ class SyncService {
|
|||
return;
|
||||
}
|
||||
File file = filesToBeUploaded[i];
|
||||
if (file.fileType == FileType.video) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
file.collectionID = (await CollectionsService.instance
|
||||
.getOrCreateForPath(file.deviceFolder))
|
||||
|
|
Loading…
Add table
Reference in a new issue