diff --git a/src/components/playground/PhoneSimulator.tsx b/src/components/playground/PhoneSimulator.tsx index d4a35fe..4f63171 100644 --- a/src/components/playground/PhoneSimulator.tsx +++ b/src/components/playground/PhoneSimulator.tsx @@ -1121,35 +1121,53 @@ export function PhoneSimulator({ {/* Push-to-Talk Mode Layout */} {isPushToTalkMode && phoneMode !== "hand_off" && voiceAssistant.agent && (
- {/* Camera Switch Button - Left (hidden in important_message mode) */} + {/* Mic Toggle and Camera Switch Buttons - Left (hidden in important_message mode) */} {phoneMode !== "important_message" && ( -
+
+ {/* Mic Toggle Button */} - {showCameraMenu && ( -
- {cameras.length === 0 ? ( -
- No cameras found -
- ) : ( - cameras.map((device) => ( - - )) - )} -
- )} + {/* Camera Switch Button */} +
+ + {showCameraMenu && ( +
+ {cameras.length === 0 ? ( +
+ No cameras found +
+ ) : ( + cameras.map((device) => ( + + )) + )} +
+ )} +
)} diff --git a/src/components/playground/Playground.tsx b/src/components/playground/Playground.tsx index c206666..9299d2e 100644 --- a/src/components/playground/Playground.tsx +++ b/src/components/playground/Playground.tsx @@ -873,7 +873,7 @@ export default function Playground({