removed unused code
This commit is contained in:
parent
b9a600be43
commit
b113155aed
|
@ -439,17 +439,6 @@ class Configuration {
|
|||
}
|
||||
}
|
||||
|
||||
Future<void> setPathsToBackUp(Set<String> newPaths) async {
|
||||
//unused code - remove
|
||||
await _preferences.setStringList(foldersToBackUpKey, newPaths.toList());
|
||||
final allFolders = (await FilesDB.instance.getLatestLocalFiles())
|
||||
.map((file) => file.deviceFolder)
|
||||
.toList();
|
||||
await setSelectAllFoldersForBackup(newPaths.length == allFolders.length);
|
||||
SyncService.instance.onFoldersSet(newPaths);
|
||||
SyncService.instance.sync();
|
||||
}
|
||||
|
||||
Future<void> setKeyAttributes(KeyAttributes attributes) async {
|
||||
await _preferences.setString(keyAttributesKey, attributes.toJson());
|
||||
}
|
||||
|
@ -512,11 +501,6 @@ class Configuration {
|
|||
);
|
||||
}
|
||||
|
||||
String getDocumentsDirectory() {
|
||||
//unused code - remove
|
||||
return _documentsDirectory;
|
||||
}
|
||||
|
||||
// Caution: This directory is cleared on app start
|
||||
String getTempDirectory() {
|
||||
return _tempDirectory;
|
||||
|
|
Loading…
Reference in a new issue