Improve page indicators, adding items

This commit is contained in:
Christoph Hagen
2025-01-09 13:27:38 +01:00
parent 0590224f02
commit 0db6e411c3
23 changed files with 238 additions and 206 deletions

View File

@@ -67,7 +67,7 @@ final class Storage: ObservableObject {
id + ".json"
}
func save(pageContent: String, for pageId: String, language: ContentLanguage) -> Bool {
func save(pageContent: String, for pageId: String, in language: ContentLanguage) -> Bool {
guard let contentScope else { return false }
let path = pageContentPath(page: pageId, language: language)
return contentScope.write(pageContent, to: path)