Use main views as set in branding

This commit is contained in:
Michael Zanetti 2020-11-04 16:56:54 +01:00
parent 8ce72bb9da
commit 54e8ccbc79
2 changed files with 2 additions and 1 deletions

View File

@ -154,6 +154,7 @@ ubports: {
SOURCES += platformintegration/ubports/pushclient.cpp SOURCES += platformintegration/ubports/pushclient.cpp
} }
message("BRANDING is: $${BRANDING}")
BR=$$BRANDING BR=$$BRANDING
!equals(BR, "") { !equals(BR, "") {
DEFINES += BRANDING=\\\"$${BR}\\\" DEFINES += BRANDING=\\\"$${BR}\\\"

View File

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