Move settings + generation to sheets

This commit is contained in:
Christoph Hagen
2025-02-05 15:40:09 +01:00
parent 5abe6e1a9f
commit 156bbf77d1
32 changed files with 402 additions and 852 deletions

View File

@@ -0,0 +1,21 @@
import SwiftUI
struct LocalizedPageSettingsView: View {
@ObservedObject
var settings: LocalizedPageSettings
var body: some View {
VStack(alignment: .leading) {
StringPropertyView(
title: "Empty Page Title",
text: $settings.emptyPageTitle,
footer: "The title to show for the box on an empty page")
TextFieldPropertyView(
title: "Empty Page Text",
text: $settings.emptyPageText,
footer: "The text to show in the box on an empty page")
}
}
}