From b783e9a884f8c6149835f341d9ef9d8286dcfd94 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 1 Sep 2021 19:14:36 -0400 Subject: [PATCH] temporarily disable custom mailservers --- ui/app/AppLayouts/Profile/LeftTab/Menu.qml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Profile/LeftTab/Menu.qml b/ui/app/AppLayouts/Profile/LeftTab/Menu.qml index c94d00a65b..2c2656708c 100644 --- a/ui/app/AppLayouts/Profile/LeftTab/Menu.qml +++ b/ui/app/AppLayouts/Profile/LeftTab/Menu.qml @@ -44,8 +44,14 @@ ScrollView { title: modelData.text icon.name: modelData.icon selected: Config.currentMenuTab === modelData.id - onClicked: Config.currentMenuTab = modelData.id - visible: modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled + onClicked: Config.currentMenuTab = modelData.id + visible: { + if((profileModel.fleets.fleet == Constants.waku_prod || profileModel.fleets.fleet === Constants.waku_test) && modelData.id === 8){ + // Disable sync settings. - TODO: remove this once wakuV2 compatibility is added + return false; + } + return modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled + } badge.value: (!profileModel.mnemonic.isBackedUp && (settingsMenuDelegate.title === ProfileConstants.settingsMenuButtons[0].text)) ? 1 : 0 }