Merge PR #500: Fix weather device list page

This commit is contained in:
Jenkins nymea 2021-01-09 12:54:18 +01:00
commit afdcd33301
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
] ]
}, },
{ {
"description": "Notify me when something dries ou", "description": "Notify me when something dries out",
"ruleNameTemplate": "Notify %1 when %0 dries out", "ruleNameTemplate": "Notify %1 when %0 dries out",
"stateEvaluatorTemplate": { "stateEvaluatorTemplate": {
"stateDescriptorTemplate": { "stateDescriptorTemplate": {

View File

@ -63,7 +63,7 @@ DeviceListPageBase {
delegate: BigThingTile { delegate: BigThingTile {
id: itemDelegate id: itemDelegate
Layout.preferredWidth: contentGrid.width / contentGrid.columns Layout.preferredWidth: contentGrid.width / contentGrid.columns
thing: root.thingsProxy.get(model.id) thing: root.thingsProxy.get(index)
onClicked: enterPage(index) onClicked: enterPage(index)