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

fix: toggle label "Record" when off, "Recording" when on

Louis Beaumont5a47bc9ea81b
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/tray.rs b/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
index 4fbb519fb..d38fc12ab 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/tray.rs
@@ -506,7 +506,8 @@ fn create_dynamic_menu(
menu_builder = menu_builder.item(&PredefinedMenuItem::separator(app)?);
let is_recording = effective_status == RecordingStatus::Recording;
- let toggle = CheckMenuItemBuilder::with_id("toggle_recording", "Recording")
+ let label = if is_recording { "Recording" } else { "Record" };
+ let toggle = CheckMenuItemBuilder::with_id("toggle_recording", label)
.checked(is_recording)
.build(app)?;
menu_builder = menu_builder.item(&toggle);