浏览代码

Remove redundant sync call

Vishnu Mohandas 4 年之前
父节点
当前提交
404cf4f94f
共有 1 个文件被更改,包括 0 次插入1 次删除
  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);
         if (!Configuration.instance.getPathsToBackUp().contains(path)) {
           await Configuration.instance.addPathToFoldersToBeBackedUp(path);
-          SyncService.instance.sync();
         }
       }
       try {