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