mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-04-27 15:17:38 +00:00
clean up halucinations
This commit is contained in:
parent
bf31a85198
commit
bf3be6af47
1 changed files with 0 additions and 41 deletions
|
|
@ -170,8 +170,6 @@ struct GeneralSettingsView: View {
|
||||||
/// Advanced settings tab content
|
/// Advanced settings tab content
|
||||||
struct AdvancedSettingsView: View {
|
struct AdvancedSettingsView: View {
|
||||||
@AppStorage("verboseLogging") private var verboseLogging = false
|
@AppStorage("verboseLogging") private var verboseLogging = false
|
||||||
@AppStorage("enableMetrics") private var enableMetrics = true
|
|
||||||
@AppStorage("enableCrashReporting") private var enableCrashReporting = true
|
|
||||||
@AppStorage("debugModeEnabled") private var debugModeEnabled = false
|
@AppStorage("debugModeEnabled") private var debugModeEnabled = false
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
|
@ -203,45 +201,6 @@ struct AdvancedSettingsView: View {
|
||||||
.background(Theme.Colors.cardBackground)
|
.background(Theme.Colors.cardBackground)
|
||||||
.cornerRadius(Theme.CornerRadius.card)
|
.cornerRadius(Theme.CornerRadius.card)
|
||||||
|
|
||||||
// Metrics
|
|
||||||
Toggle(isOn: $enableMetrics) {
|
|
||||||
HStack {
|
|
||||||
Image(systemName: "chart.line.uptrend.xyaxis")
|
|
||||||
.foregroundColor(Theme.Colors.primaryAccent)
|
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
|
||||||
Text("Usage Metrics")
|
|
||||||
.font(Theme.Typography.terminalSystem(size: 14))
|
|
||||||
.foregroundColor(Theme.Colors.terminalForeground)
|
|
||||||
Text("Help improve the app by sharing usage data")
|
|
||||||
.font(Theme.Typography.terminalSystem(size: 12))
|
|
||||||
.foregroundColor(Theme.Colors.terminalForeground.opacity(0.6))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.toggleStyle(SwitchToggleStyle(tint: Theme.Colors.primaryAccent))
|
|
||||||
.padding()
|
|
||||||
.background(Theme.Colors.cardBackground)
|
|
||||||
.cornerRadius(Theme.CornerRadius.card)
|
|
||||||
|
|
||||||
// Crash Reporting
|
|
||||||
Toggle(isOn: $enableCrashReporting) {
|
|
||||||
HStack {
|
|
||||||
Image(systemName: "exclamationmark.triangle")
|
|
||||||
.foregroundColor(Theme.Colors.primaryAccent)
|
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
|
||||||
Text("Crash Reports")
|
|
||||||
.font(Theme.Typography.terminalSystem(size: 14))
|
|
||||||
.foregroundColor(Theme.Colors.terminalForeground)
|
|
||||||
Text("Automatically send crash reports")
|
|
||||||
.font(Theme.Typography.terminalSystem(size: 12))
|
|
||||||
.foregroundColor(Theme.Colors.terminalForeground.opacity(0.6))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.toggleStyle(SwitchToggleStyle(tint: Theme.Colors.primaryAccent))
|
|
||||||
.padding()
|
|
||||||
.background(Theme.Colors.cardBackground)
|
|
||||||
.cornerRadius(Theme.CornerRadius.card)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue