remove unused variable

This commit is contained in:
Neeraj Gupta 2022-09-09 16:01:29 +05:30
parent 0612c5590c
commit 53ce251528
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -393,7 +393,6 @@ class RemoteSyncService {
Future<List<File>> _getFilesToBeUploaded() async {
final deviceCollections = await FilesDB.instance.getDeviceCollections();
deviceCollections.removeWhere((element) => !element.shouldBackup);
final foldersToBackUp = Configuration.instance.getPathsToBackUp();
List<File> filesToBeUploaded;
if (LocalSyncService.instance.hasGrantedLimitedPermissions() &&
deviceCollections.isEmpty) {