Browse Source

Reduce visibility of internal function

vishnukvmd 4 years ago
parent
commit
865b750a62
1 changed files with 2 additions and 2 deletions
  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);
   }