From 558ab60afd4e02627e1c4dca4362cf31fdf832b9 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Sat, 13 Sep 2025 15:52:28 +0545 Subject: [PATCH] Minor Ui changes --- VoiceInk/HotkeyManager.swift | 4 ---- VoiceInk/Views/Settings/SettingsView.swift | 19 +++++++++---------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/VoiceInk/HotkeyManager.swift b/VoiceInk/HotkeyManager.swift index 46787fd..0e1ace8 100644 --- a/VoiceInk/HotkeyManager.swift +++ b/VoiceInk/HotkeyManager.swift @@ -142,10 +142,6 @@ class HotkeyManager: ObservableObject { self.whisperState = whisperState self.miniRecorderShortcutManager = MiniRecorderShortcutManager(whisperState: whisperState) - if KeyboardShortcuts.getShortcut(for: .pasteLastTranscription) == nil { - let defaultPasteShortcut = KeyboardShortcuts.Shortcut(.v, modifiers: [.command, .option]) - KeyboardShortcuts.setShortcut(defaultPasteShortcut, for: .pasteLastTranscription) - } KeyboardShortcuts.onKeyUp(for: .pasteLastTranscription) { [weak self] in guard let self = self else { return } diff --git a/VoiceInk/Views/Settings/SettingsView.swift b/VoiceInk/Views/Settings/SettingsView.swift index 54c219f..bb81fa1 100644 --- a/VoiceInk/Views/Settings/SettingsView.swift +++ b/VoiceInk/Views/Settings/SettingsView.swift @@ -74,9 +74,9 @@ struct SettingsView: View { subtitle: "Additional shortcuts for VoiceInk" ) { VStack(alignment: .leading, spacing: 18) { - // Paste Last Transcription + // Paste Last Transcript (Original) HStack(spacing: 12) { - Text("Paste Last Transcription") + Text("Paste Last Transcript (Original)") .font(.system(size: 13, weight: .medium)) .foregroundColor(.secondary) @@ -84,16 +84,16 @@ struct SettingsView: View { .controlSize(.small) InfoTip( - title: "Paste Last Transcription", - message: "Shortcut for pasting the most recent transcription at current cursor position." + title: "Paste Last Transcript(Original)", + message: "Shortcut for pasting the most recent transcription." ) Spacer() } - // Paste Last Enhancement + // Paste Last Transcript (Enhanced) HStack(spacing: 12) { - Text("Paste Last Enhancement") + Text("Paste Last Transcript(Enhanced)") .font(.system(size: 13, weight: .medium)) .foregroundColor(.secondary) @@ -101,15 +101,14 @@ struct SettingsView: View { .controlSize(.small) InfoTip( - title: "Paste Last Enhancement", - message: "Shortcut for pasting the most recent AI-enhanced text. If no enhancement exists, nothing is pasted. If the enhancement failed, the error message is pasted." + title: "Paste Last Transcript (Enhanced)", + message: "Shortcut for pasting the most recent transcript(enhanced). If no enhancement exists, nothing is pasted. If the enhancement failed, the error message is pasted." ) Spacer() } - // Add separator after Paste Last Enhancement - Divider() + // Retry Last Transcription HStack(spacing: 12) {