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: remove duplicate DISMISS button from restart notification

Louis Beaumont7eca8bd6ea63
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/health.rs b/apps/screenpipe-app-tauri/src-tauri/src/health.rs
index 32b66e5c4..e4a2408d7 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/health.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/health.rs
@@ -608,8 +608,7 @@ async fn show_capture_stall_notification(app: &tauri::AppHandle, system: &str) -
"title": format!("{} recording stopped", system),
"body": format!("{} capture appears to have stopped. you can restart to fix this.", system),
"actions": [
- { "label": "RESTART", "action": "restart_recording" },
- { "label": "DISMISS", "action": "dismiss" }
+ { "label": "RESTART", "action": "restart_recording", "primary": true }
],
"autoDismissMs": 30000
});