IndieBackup comes out whole: the package, the Backup directory, the Settings section, the .kanbanbackup document type and its onOpenURL restore path. Settings is now the About section alone. The Files-app keys stay — they serve local-board visibility, not backups. Board sharing as a zipped archive is the planned replacement and is deliberately not started here. Claude-Session: https://claude.ai/code/session_01SR4XGjmBE16ZUYWpfFHXwY
28 lines
985 B
Swift
28 lines
985 B
Swift
import SwiftUI
|
|
import IndieAbout
|
|
|
|
/// The About section (indie-about skill).
|
|
struct SettingsTabView: View {
|
|
@Environment(BoardIndexStore.self) private var index
|
|
|
|
var body: some View {
|
|
NavigationStack {
|
|
Form {
|
|
// Same voice as the Mac app's `AboutBox.configuration`; the changelog itself is
|
|
// the phone app's own (see project.yml — separate product, separate 1.0).
|
|
Section {
|
|
IndieAbout(configuration: .init(
|
|
copyrightText: "© 2026 rzen",
|
|
documents: [.license(extension: "md")],
|
|
changelogDocument: .changelog()
|
|
))
|
|
}
|
|
}
|
|
.navigationTitle("Settings")
|
|
}
|
|
// Idempotent (BoardIndexStore.start()), and harmless if BoardsTabView already called it —
|
|
// this tab can be the first one the user opens.
|
|
.task { index.start() }
|
|
}
|
|
}
|