Minor Ui changes

This commit is contained in:
Beingpax 2025-09-13 15:52:28 +05:45
parent 65322ac47f
commit 558ab60afd
2 changed files with 9 additions and 14 deletions

View File

@ -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 }

View File

@ -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) {