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

@ -45,7 +45,13 @@ ScrollView {
icon.name: modelData.icon
selected: Config.currentMenuTab === modelData.id
onClicked: Config.currentMenuTab = modelData.id
visible: modelData.ifEnabled !== "browser" || appSettings.isBrowserEnabled
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
}