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(overlay): fix phone icon click not working in overlay

Louis Beaumontc8686afabeeb
diff --git a/apps/screenpipe-app-tauri/app/shortcut-reminder/page.tsx b/apps/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
index 7506a24a9..e5f7a0688 100644
--- a/apps/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
+++ b/apps/screenpipe-app-tauri/app/shortcut-reminder/page.tsx
@@ -48,14 +48,18 @@ function useMeetingState() {
await fetch("http://localhost:3030/meetings/stop", { method: "POST" });
setActive(false);
} else {
- await fetch("http://localhost:3030/meetings/start", {
+ const res = await fetch("http://localhost:3030/meetings/start", {
method: "POST",
headers: { "Content-Type": "application/json" },
- body: JSON.stringify({ title: "manual meeting" }),
+ body: JSON.stringify({ app: "manual" }),
});
- setActive(true);
+ if (res.ok) {
+ setActive(true);
+ }
}
- } catch {}
+ } catch (e) {
+ console.error("meeting toggle failed:", e);
+ }
setLoading(false);
}, [active]);
@@ -269,10 +273,6 @@ export default function ShortcutReminderPage() {
e.stopPropagation();
meeting.toggle();
}}
- onMouseDown={(e) => {
- e.preventDefault();
- e.stopPropagation();
- }}
disabled={meeting.loading}
className="relative flex items-center justify-center hover:bg-white/10 transition-colors cursor-pointer p-0.5"
title={meeting.active ? "stop meeting" : "start meeting"}