refactor: remove direct typing for short text in insertTranscription function to streamline clipboard usage

This commit is contained in:
Your Name
2026-06-09 13:29:26 -07:00
parent 2c5a0b70ed
commit 593a5941a1
-6
View File
@@ -12,12 +12,6 @@ import (
)
func (a *App) insertTranscription(text string) {
if len(text) < 50 {
// Type short text directly to avoid clipboard interference
robotgo.TypeStr(text)
return
}
// Save old clipboard
oldClip, clipErr := wailsruntime.ClipboardGetText(a.ctx)