commit 4e71cc893134fdc84334f732e1b3a85eb88868af
parent 81ff77b0ece339aa779e0c406fd21921a456526a
Author: Michael Camilleri <[email protected]>
Date: Sat, 24 Oct 2026 23:01:09 +0900
Add colophon to Settings tab
Diffstat
| M | Reportage/Views/Settings/SettingsView.swift | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/Reportage/Views/Settings/SettingsView.swift b/Reportage/Views/Settings/SettingsView.swift
@@ -62,6 +62,7 @@ struct SettingsView: View {
} header: {
SettingsHeading("Miscellaneous")
}
+ Colophon()
}
.listStyle(.plain)
.scrollContentBackground(.hidden)
@@ -96,6 +97,21 @@ private struct SettingsTitle: View {
}
}
+/// The line at the foot of the screen, as in the other apps.
+private struct Colophon: View {
+ var body: some View {
+ Text("Made in Tokyo from natural ones and zeros")
+ .font(.footnote)
+ .foregroundStyle(Theme.muted)
+ .frame(maxWidth: .infinity)
+ .multilineTextAlignment(.center)
+ .padding(.vertical, 24)
+ .listRowInsets(EdgeInsets(top: 0, leading: Theme.margin, bottom: 0, trailing: Theme.margin))
+ .listRowBackground(Theme.paper)
+ .listRowSeparator(.hidden)
+ }
+}
+
/// A section heading in small spaced capitals, like a day in the timeline.
struct SettingsHeading: View {
let title: LocalizedStringKey