Merge PR #724: Allow disabling plugin settings by configuration

This commit is contained in:
Jenkins nymea 2021-12-14 12:40:47 +01:00
commit 4ec069eb92
3 changed files with 4 additions and 0 deletions

View File

@ -16,4 +16,5 @@ ConfigurationBase {
webServerSettingsEnabled: true
zigbeeSettingsEnabled: true
modbusSettingsEnabled: true
pluginSettingsEnabled: true
}

View File

@ -16,4 +16,5 @@ Item {
property bool webServerSettingsEnabled: false
property bool zigbeeSettingsEnabled: false
property bool modbusSettingsEnabled: false
property bool pluginSettingsEnabled: false
}

View File

@ -214,6 +214,8 @@ Page {
Layout.fillWidth: true
Material.elevation: layout.isGrid ? 1 : 0
visible: Configuration.pluginSettingsEnabled
padding: 0
NymeaSwipeDelegate {
width: parent.width