From 227c33955a99f905e9a227ee6c8d7d765f45bb06 Mon Sep 17 00:00:00 2001 From: Beingpax Date: Thu, 6 Nov 2025 17:46:32 +0545 Subject: [PATCH] Fix menu bar issue --- VoiceInk/VoiceInk.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VoiceInk/VoiceInk.swift b/VoiceInk/VoiceInk.swift index 1d6fa4c..1910960 100644 --- a/VoiceInk/VoiceInk.swift +++ b/VoiceInk/VoiceInk.swift @@ -20,6 +20,7 @@ struct VoiceInkApp: App { @StateObject private var activeWindowService = ActiveWindowService.shared @AppStorage("hasCompletedOnboarding") private var hasCompletedOnboarding = false @AppStorage("enableAnnouncements") private var enableAnnouncements = true + @State private var showMenuBarIcon = true // Audio cleanup manager for automatic deletion of old audio files private let audioCleanupManager = AudioCleanupManager.shared @@ -166,7 +167,7 @@ struct VoiceInkApp: App { } } - MenuBarExtra { + MenuBarExtra(isInserted: $showMenuBarIcon) { MenuBarView() .environmentObject(whisperState) .environmentObject(hotkeyManager)