From 878a767c96af8a8f2d3963f8ac79d661fd36ef18 Mon Sep 17 00:00:00 2001 From: DorraJaouad Date: Fri, 16 Feb 2024 20:42:50 +0100 Subject: [PATCH 1/2] fix(TopBar): split screenshare button Signed-off-by: Maksim Sukharev --- src/components/TopBar/TopBarMediaControls.vue | 41 +++++++++---------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/src/components/TopBar/TopBarMediaControls.vue b/src/components/TopBar/TopBarMediaControls.vue index 20af35667de..fadcd84239e 100644 --- a/src/components/TopBar/TopBarMediaControls.vue +++ b/src/components/TopBar/TopBarMediaControls.vue @@ -82,9 +82,10 @@ - - + - {{ screenSharingButtonTooltip }} + {{ t('spreed', 'Show your screen') }} + + + + {{ t('spreed', 'Stop screensharing') }} - + + + From 2abb696c32eae5302e2bb6f8311334f542c6a78b Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 5 Mar 2024 09:12:24 +0100 Subject: [PATCH 2/2] refactor(TopBar): get rid of duplicated properties Signed-off-by: Maksim Sukharev --- src/components/TopBar/TopBar.vue | 3 +-- src/components/TopBar/TopBarMediaControls.vue | 25 +++++-------------- 2 files changed, 7 insertions(+), 21 deletions(-) diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue index 7e5b0293697..8fb2d8b2489 100644 --- a/src/components/TopBar/TopBar.vue +++ b/src/components/TopBar/TopBar.vue @@ -87,8 +87,7 @@ class="local-media-controls dark-hover" :token="token" :model="localMediaModel" - :show-actions="!isSidebar" - :screen-sharing-button-hidden="isSidebar" + :is-sidebar="isSidebar" :local-call-participant-model="localCallParticipantModel" /> diff --git a/src/components/TopBar/TopBarMediaControls.vue b/src/components/TopBar/TopBarMediaControls.vue index fadcd84239e..f18d29533e6 100644 --- a/src/components/TopBar/TopBarMediaControls.vue +++ b/src/components/TopBar/TopBarMediaControls.vue @@ -70,7 +70,7 @@ :model="model" color="#ffffff" /> - - - -