Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

chore: remove unused recording shortcut variables from tray

Louis Beaumonte6bbe8e33b78
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/tray.rs b/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
index f2b7c064b..77e66a580 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
@@ -526,20 +526,6 @@ fn create_dynamic_menu(
);
// --- Recording controls ---
- let (default_start_rec, default_stop_rec) = if cfg!(target_os = "windows") {
- ("Alt+Shift+U", "Alt+Shift+X")
- } else {
- ("Super+Ctrl+U", "Super+Ctrl+X")
- };
- let start_rec_shortcut = store
- .get("startRecordingShortcut")
- .and_then(|v| v.as_str().map(String::from))
- .unwrap_or_else(|| default_start_rec.to_string());
- let stop_rec_shortcut = store
- .get("stopRecordingShortcut")
- .and_then(|v| v.as_str().map(String::from))
- .unwrap_or_else(|| default_stop_rec.to_string());
-
if !is_tray_item_hidden("tray_recording_controls") {
menu_builder = menu_builder.item(&PredefinedMenuItem::separator(app)?);