summaryrefslogtreecommitdiff
path: root/internal/gui
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
committerPaul Buetow <paul@buetow.org>2026-04-03 08:08:51 +0300
commitd53b03d280363ecc6068ba93985adfc4defee956 (patch)
tree741182d83abd584fb133da2057a9af986d8f8a41 /internal/gui
parent170a4a9d46a32bcb28c04f6ff6bb1a48284ec424 (diff)
fix: resolve all golangci-lint issues
- audio/fallbacks.go: lowercase error string per Go convention - gui/app.go: remove empty else branch in keyboard shortcut handler - audio/provider_test.go: remove unused mockProvider type - update test assertions in voices_test.go and processor_test.go to match the corrected lowercase error string Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/gui')
-rw-r--r--internal/gui/app.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go
index e5cc9dd..13b3136 100644
--- a/internal/gui/app.go
+++ b/internal/gui/app.go
@@ -2604,10 +2604,9 @@ func (a *Application) setupKeyboardShortcuts() {
if !a.regenerateAudioBtn.Disabled() {
a.onRegenerateAudio()
}
- case 'A', 'А': // A = regenerate back audio (for bg-bg cards)
+ case 'A', 'А': // A = regenerate back audio (for bg-bg cards only)
if a.currentCardType == "bg-bg" {
a.onRegenerateBackAudio()
- } else {
}
case 'р', 'Р': // р = r
if !a.regenerateAllBtn.Disabled() {