浏览代码

Reduce visibility of internal function

vishnukvmd 4 年之前
父节点
当前提交
865b750a62
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/core/configuration.dart

+ 2 - 2
lib/core/configuration.dart

@@ -334,7 +334,7 @@ class Configuration {
     final allFolders = (await FilesDB.instance.getLatestLocalFiles())
         .map((file) => file.deviceFolder)
         .toList();
-    await setSelectAllFoldersForBackup(newPaths.length == allFolders.length);
+    await _setSelectAllFoldersForBackup(newPaths.length == allFolders.length);
     SyncService.instance.onFoldersSet(newPaths);
     SyncService.instance.sync();
   }
@@ -503,7 +503,7 @@ class Configuration {
     return _preferences.getBool(hasSelectedAllFoldersForBackupKey) ?? false;
   }
 
-  Future<void> setSelectAllFoldersForBackup(bool value) async {
+  Future<void> _setSelectAllFoldersForBackup(bool value) async {
     await _preferences.setBool(hasSelectedAllFoldersForBackupKey, value);
   }