Browse Source

Remove redundant sync call

Vishnu Mohandas 4 years ago
parent
commit
404cf4f94f
1 changed files with 0 additions and 1 deletions
  1. 0 1
      lib/ui/share_collection_widget.dart

+ 0 - 1
lib/ui/share_collection_widget.dart

@@ -199,7 +199,6 @@ class _SharingDialogState extends State<SharingDialog> {
             CollectionsService.instance.decryptCollectionPath(collection);
             CollectionsService.instance.decryptCollectionPath(collection);
         if (!Configuration.instance.getPathsToBackUp().contains(path)) {
         if (!Configuration.instance.getPathsToBackUp().contains(path)) {
           await Configuration.instance.addPathToFoldersToBeBackedUp(path);
           await Configuration.instance.addPathToFoldersToBeBackedUp(path);
-          SyncService.instance.sync();
         }
         }
       }
       }
       try {
       try {