Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix[mobile]: more robust touch check (#2396)
Peter Chinmancdad687ee139
diff --git a/js/app/packages/core/mobile/isTouchDevice.ts b/js/app/packages/core/mobile/isTouchDevice.tsindex f407ddcb93..78afb068c4 100644--- a/js/app/packages/core/mobile/isTouchDevice.ts+++ b/js/app/packages/core/mobile/isTouchDevice.ts@@ -13,9 +13,6 @@ export function isTouchDevice(): boolean {return false;}- const hasCoarsePointer = window.matchMedia('(pointer: coarse)').matches;- const hasNoHover = window.matchMedia('(hover: none)').matches;-- cachedIsTouchDevice = hasCoarsePointer && hasNoHover;+ cachedIsTouchDevice = window.matchMedia('(pointer: coarse)').matches;return cachedIsTouchDevice;}