From 467a52e103fc447f3a7b4694b021d9c3339896b4 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Thu, 7 Aug 2025 16:44:47 +0545 Subject: [PATCH] Improve the data and privacy section in settings. --- .../Settings/AudioCleanupSettingsView.swift | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/VoiceInk/Views/Settings/AudioCleanupSettingsView.swift b/VoiceInk/Views/Settings/AudioCleanupSettingsView.swift index db513c2..035faa9 100644 --- a/VoiceInk/Views/Settings/AudioCleanupSettingsView.swift +++ b/VoiceInk/Views/Settings/AudioCleanupSettingsView.swift @@ -22,11 +22,6 @@ struct AudioCleanupSettingsView: View { .foregroundColor(.secondary) .fixedSize(horizontal: false, vertical: true) - Text("Data Retention") - .font(.system(size: 14, weight: .semibold)) - .foregroundColor(.primary) - .padding(.top, 8) - Toggle("Do not maintain transcript history", isOn: $doNotMaintainTranscriptHistory) .toggleStyle(.switch) .padding(.vertical, 4) @@ -43,15 +38,6 @@ struct AudioCleanupSettingsView: View { Divider() .padding(.vertical, 8) - Text("Audio File Management") - .font(.system(size: 14, weight: .semibold)) - .foregroundColor(.primary) - - Text("Automatically delete audio files from transcription history while preserving the text transcripts.") - .font(.system(size: 13)) - .foregroundColor(.secondary) - .fixedSize(horizontal: false, vertical: true) - Toggle("Enable automatic audio cleanup", isOn: $isAudioCleanupEnabled) .toggleStyle(.switch) .padding(.vertical, 4) @@ -59,9 +45,6 @@ struct AudioCleanupSettingsView: View { if isAudioCleanupEnabled && !doNotMaintainTranscriptHistory { VStack(alignment: .leading, spacing: 8) { - Text("Retention Period") - .font(.system(size: 14, weight: .medium)) - Picker("Keep audio files for", selection: $audioRetentionPeriod) { Text("1 day").tag(1) Text("3 days").tag(3)