فهرست منبع

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);
   }