nvrsion: promote trunk to dev
Nucleic-Promote: 1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user