nvrsion: promote trunk to dev

Nucleic-Promote: 1
This commit is contained in:
Nucleic
2026-06-26 16:18:02 -07:00
parent 1fdb89e6c1
commit 16c7b2cc7e
6 changed files with 188 additions and 3 deletions
@@ -1,10 +1,12 @@
import SwiftUI
import NucleicProtocol
struct SettingsView: View {
@EnvironmentObject var store: RemoteStore
@State private var showScanner = false
@AppStorage("nucleic.showRawEvents") private var showRaw = false
@AppStorage("nucleic.showLockEvents") private var showLockEvents = true
@AppStorage(HeartbeatSettings.shareAnonymousUsageKey) private var shareAnonymousUsage = true
var body: some View {
NavigationStack {
@@ -33,6 +35,14 @@ struct SettingsView: View {
Text("Raw events are unrecognized backend output, shown for debugging.")
}
Section {
Toggle("Share anonymous usage", isOn: $shareAnonymousUsage)
} header: {
Text("Privacy")
} footer: {
Text("A once-a-day anonymous ping — a random install ID, app version, iOS version, and language — so we can count active installs. No account, no IP, no content.")
}
Section {
Button {
showScanner = true