Integrate tag overview into settings file

This commit is contained in:
Christoph Hagen
2025-01-06 11:01:02 +01:00
parent 48cfa204e2
commit 96c0a75c2f
5 changed files with 7 additions and 20 deletions

View File

@ -60,13 +60,14 @@ final class Settings: ObservableObject {
self.english = .init(file: file.english)
}
var file: SettingsFile {
func file(tagOverview: TagOverviewPage?) -> SettingsFile {
.init(
paths: paths.file,
navigation: navigation.file,
posts: posts.file,
pages: pages.file,
audioPlayer: audioPlayer.file,
tagOverview: tagOverview?.file,
german: german.file,
english: english.file)
}