Add download location settings

This commit is contained in:
Geomitron
2024-07-12 15:42:41 -05:00
parent 91e80aed52
commit 7968592893
13 changed files with 168 additions and 52 deletions

View File

@@ -57,8 +57,15 @@ export class SettingsService {
get libraryDirectory() {
return this.settings.libraryPath
}
set libraryDirectory(newValue: string | undefined) {
this.settings.libraryPath = newValue
set libraryDirectory(value: string | undefined) {
this.settings.libraryPath = value
this.saveSettings()
}
get chartFolderName() {
return this.settings.chartFolderName
}
set chartFolderName(value: string) {
this.settings.chartFolderName = value
this.saveSettings()
}