INF-1306: hide "open chats", "open meetings" and "merge calls (conference)" buttons

i9m
Anton Volkov 5 months ago
parent 37b3628662
commit 26a34f9bfc

@ -0,0 +1,49 @@
From aa576e709afb44cf111358131eedd101e38e685e Mon Sep 17 00:00:00 2001
From: Anton Volkov <AV.Volkov@softline.com>
Date: Tue, 25 Jun 2024 17:11:02 +0300
Subject: [PATCH] hide "open chats", "open meetings" and "merge calls
(conference)" buttons
---
linphone-app/ui/views/App/Calls/CallsWindow.qml | 2 +-
linphone-app/ui/views/App/Main/MainWindow.qml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/linphone-app/ui/views/App/Calls/CallsWindow.qml b/linphone-app/ui/views/App/Calls/CallsWindow.qml
index e41c07f..3278146 100644
--- a/linphone-app/ui/views/App/Calls/CallsWindow.qml
+++ b/linphone-app/ui/views/App/Calls/CallsWindow.qml
@@ -142,7 +142,7 @@ Window {
isCustom: true
backgroundRadius: 4
colorSet: CallsWindowStyle.callsList.mergeConference
- visible: SettingsModel.conferenceEnabled
+ visible: false
enabled: CallsListModel.canMergeCalls
onClicked: {
diff --git a/linphone-app/ui/views/App/Main/MainWindow.qml b/linphone-app/ui/views/App/Main/MainWindow.qml
index 6e5662a..405a0a1 100644
--- a/linphone-app/ui/views/App/Main/MainWindow.qml
+++ b/linphone-app/ui/views/App/Main/MainWindow.qml
@@ -387,7 +387,7 @@ ApplicationWindow {
}
}
ActionButton {
- visible: SettingsModel.standardChatEnabled || SettingsModel.secureChatEnabled
+ visible: false
isCustom: true
backgroundRadius: 4
colorSet: MainWindowStyle.buttons.chatMenu
@@ -419,7 +419,7 @@ ApplicationWindow {
}
}
ActionButton {
- visible: SettingsModel.conferenceEnabled
+ visible: false
isCustom: true
backgroundRadius: 4
colorSet: MainWindowStyle.buttons.meetingsMenu
--
2.43.0

@ -12,6 +12,7 @@ Source1: https://gitlab.linphone.org/BC/public/external/ispell/-/archive/%{i
Patch1: 0001-Fix-build.patch Patch1: 0001-Fix-build.patch
Patch2: 0001-Use-system-CA-Bundle.patch Patch2: 0001-Use-system-CA-Bundle.patch
Patch3: 0001-Fix-RPATH.patch Patch3: 0001-Fix-RPATH.patch
Patch4: 0002-hide-open-chats-open-meetings-and-merge-calls-buttons.patch
BuildRequires: git-core BuildRequires: git-core
BuildRequires: ninja-build BuildRequires: ninja-build

Loading…
Cancel
Save