From 549634dca0bf722b1509f8b14ff38560f06cbf92 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 15 May 2026 15:38:02 -0400 Subject: [PATCH] fix: VideoButton disabled state, PTT listener leak, TS prop errors - VideoButton now accepts disabled prop with tooltip and visual feedback; PrescreenControls passes disabled=true when cameraOnJoin=false - PTT key listener in settings tracked via ref, cleaned up on unmount, guarded against stacking on double-click; useCallback + useRef - CallControls screenshare cancel button: variant Surface -> Secondary - General.tsx Box align prop: align -> alignItems (TS2322 fix) --- src/app/features/call/CallControls.tsx | 2 +- src/app/features/call/Controls.tsx | 9 +++++++-- src/app/features/call/PrescreenControls.tsx | 5 ++++- src/app/features/settings/general/General.tsx | 20 ++++++++++++++++--- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/app/features/call/CallControls.tsx b/src/app/features/call/CallControls.tsx index 75c64e254..f750bf533 100644 --- a/src/app/features/call/CallControls.tsx +++ b/src/app/features/call/CallControls.tsx @@ -235,7 +235,7 @@ export function CallControls({ callEmbed }: CallControlsProps) { Share