From 9da4f660921d30121f1fb9715cbc363988bed6f4 Mon Sep 17 00:00:00 2001
From: Aline Gondim Santos <aline.gondimsantos@savoirfairelinux.com>
Date: Wed, 30 Nov 2022 16:07:05 -0300
Subject: [PATCH] callactionbar: set conference layout button action as mosaic

Change-Id: I16a97b0181660c2b32b8e39c38921d8a545e2fa8
---
 daemon                                        | 2 +-
 src/app/mainview/components/CallActionBar.qml | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/daemon b/daemon
index b2937e7a6..8c7d11a3f 160000
--- a/daemon
+++ b/daemon
@@ -1 +1 @@
-Subproject commit b2937e7a60da94e31d501b37e9240a7fc88a8b71
+Subproject commit 8c7d11a3f71844f08b41fb34e4a6ab645f04559b
diff --git a/src/app/mainview/components/CallActionBar.qml b/src/app/mainview/components/CallActionBar.qml
index 401be4bc2..8186a8e78 100644
--- a/src/app/mainview/components/CallActionBar.qml
+++ b/src/app/mainview/components/CallActionBar.qml
@@ -365,8 +365,11 @@ Control {
         },
         Action {
             id: layoutAction
-            property bool openPopupWhenClicked: true
-            checkable: !openPopupWhenClicked
+            onTriggered: {
+                if (!isGrid)
+                    CallAdapter.showGridConferenceLayout()
+            }
+            checkable: true
             icon.source: JamiResources.mosaic_black_24dp_svg
             icon.color: "white"
             text: JamiStrings.layoutSettings
-- 
GitLab