From 8c5668bf1ae1b0df50184f95d7e05ac681fcabf9 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 14 Apr 2026 14:04:29 +0200 Subject: [PATCH] Breaking changes detected by snapshot tests. Add screenshare button back to snapshot test. Remove reaction button. --- src/components/CallFooter.tsx | 2 +- src/room/InCallView.test.tsx | 5 ++++- src/room/InCallView.tsx | 9 +++++---- src/room/__snapshots__/InCallView.test.tsx.snap | 4 ++-- src/state/CallViewModel/CallViewModel.ts | 5 ++++- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/CallFooter.tsx b/src/components/CallFooter.tsx index 3bc3e34b..815411a1 100644 --- a/src/components/CallFooter.tsx +++ b/src/components/CallFooter.tsx @@ -153,7 +153,7 @@ export const CallFooter: FC = ({ ); } - if (reactionIdentifier) { + if (reactionIdentifier && reactionData) { buttons.push( {}, + ...args.callViewModelOptions, + }, args.mediaDevices, ); diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 5ad1634a..6b1e57f8 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -567,25 +567,26 @@ export const InCallView: FC = ({ const footer = (