Fix confusing auto-copy settings display - only show 'Copied to clipboard' when auto-copy is enabled

This commit is contained in:
Beingpax 2025-05-26 14:46:40 +05:45
parent b590f8f641
commit 2484a92070

View File

@ -228,7 +228,9 @@ struct RecordView: View {
.font(.headline)
VStack(alignment: .leading, spacing: 12) {
InfoRow(icon: "doc.on.clipboard", text: "Copied to clipboard")
if whisperState.isAutoCopyEnabled {
InfoRow(icon: "doc.on.clipboard", text: "Copied to clipboard")
}
InfoRow(icon: "text.cursor", text: "Pasted at cursor position")
}
}