Merge PR #460: Use main views from branding if set

This commit is contained in:
Jenkins nymea 2020-11-11 16:48:36 +01:00
commit 7fab2ac6e8
2 changed files with 2 additions and 1 deletions

View File

@ -156,6 +156,7 @@ ubports: {
BR=$$BRANDING
!equals(BR, "") {
message("Branding the style to: $${BR}")
DEFINES += BRANDING=\\\"$${BR}\\\"
win32:RCC_ICONS += ../packaging/windows_$${BR}/packages/io.guh.$${BR}/meta/logo.ico
} else {

View File

@ -111,7 +111,7 @@ Page {
category: engine.jsonRpcClient.currentHost.uuid
property string mainMenuContent: ""
property var sortOrder: []
property var filterList: ["things"]
property var filterList: app.hasOwnProperty("mainViewsFilter") ? app.mainViewsFilter : ["things"]
property int currentIndex: 0
}