Merge PR #724: Allow disabling plugin settings by configuration
This commit is contained in:
commit
4ec069eb92
@ -16,4 +16,5 @@ ConfigurationBase {
|
||||
webServerSettingsEnabled: true
|
||||
zigbeeSettingsEnabled: true
|
||||
modbusSettingsEnabled: true
|
||||
pluginSettingsEnabled: true
|
||||
}
|
||||
|
||||
@ -16,4 +16,5 @@ Item {
|
||||
property bool webServerSettingsEnabled: false
|
||||
property bool zigbeeSettingsEnabled: false
|
||||
property bool modbusSettingsEnabled: false
|
||||
property bool pluginSettingsEnabled: false
|
||||
}
|
||||
|
||||
@ -214,6 +214,8 @@ Page {
|
||||
Layout.fillWidth: true
|
||||
Material.elevation: layout.isGrid ? 1 : 0
|
||||
|
||||
visible: Configuration.pluginSettingsEnabled
|
||||
|
||||
padding: 0
|
||||
NymeaSwipeDelegate {
|
||||
width: parent.width
|
||||
|
||||
Reference in New Issue
Block a user