temporarily disable custom mailservers

This commit is contained in:
Richard Ramos 2021-09-01 19:14:36 -04:00 committed by Iuri Matias
parent f3f0987d43
commit b783e9a884
1 changed files with 8 additions and 2 deletions

View File

@ -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
}