From ffa419ecc69f8c5a9ada7d8c4f9155acb5026866 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 17 Dec 2019 23:58:26 +0100 Subject: [PATCH] Use accounts icon for account interface --- nymea-app/ui/Nymea.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nymea-app/ui/Nymea.qml b/nymea-app/ui/Nymea.qml index 5733dc37..b8d40d74 100644 --- a/nymea-app/ui/Nymea.qml +++ b/nymea-app/ui/Nymea.qml @@ -68,7 +68,7 @@ ApplicationWindow { } property alias _discovery: discovery - property var supportedInterfaces: ["light", "weather", "media", "garagegate", "awning", "shutter", "blind", "powersocket", "heating", "doorbell", "sensor", "smartmeter", "evcharger", "fingerprintreader", "button", "notifications", "inputtrigger", "outputtrigger", "gateway"] + property var supportedInterfaces: ["light", "weather", "media", "garagegate", "awning", "shutter", "blind", "powersocket", "heating", "doorbell", "sensor", "smartmeter", "evcharger", "fingerprintreader", "button", "notifications", "inputtrigger", "outputtrigger", "gateway", "account"] function interfaceToString(name) { switch(name) { case "light": @@ -129,6 +129,8 @@ ApplicationWindow { return qsTr("Power sockets") case "doorbell": return qsTr("Doorbells"); + case "account": + return qsTr("Accounts"); case "uncategorized": return qsTr("Uncategorized") default: @@ -241,6 +243,8 @@ ApplicationWindow { return Qt.resolvedUrl("images/stock_link.svg") case "power": return Qt.resolvedUrl("images/system-shutdown.svg") + case "account": + return Qt.resolvedUrl("images/account.svg") default: console.warn("InterfaceToIcon: Unhandled interface", name) }