Fix app name in controloverlay
This commit is contained in:
parent
59cd1d3420
commit
12a8eb9d0c
@ -11,7 +11,7 @@ ApplicationWindow {
|
|||||||
visible: true
|
visible: true
|
||||||
visibility: ApplicationWindow.FullScreen
|
visibility: ApplicationWindow.FullScreen
|
||||||
color: Material.background
|
color: Material.background
|
||||||
title: appName
|
title: Configuration.appName
|
||||||
|
|
||||||
Material.theme: NymeaUtils.isDark(Style.backgroundColor) ? Material.Dark : Material.Light
|
Material.theme: NymeaUtils.isDark(Style.backgroundColor) ? Material.Dark : Material.Light
|
||||||
Material.background: Style.backgroundColor
|
Material.background: Style.backgroundColor
|
||||||
@ -23,9 +23,6 @@ ApplicationWindow {
|
|||||||
font.capitalization: Font.MixedCase
|
font.capitalization: Font.MixedCase
|
||||||
font.family: Style.fontFamily
|
font.family: Style.fontFamily
|
||||||
|
|
||||||
property string appName: "appBranding" in app ? app.appBranding : "nymea:app"
|
|
||||||
property string systemName: "coreBranding" in app ? app.coreBranding : "nymea"
|
|
||||||
|
|
||||||
property int margins: 16
|
property int margins: 16
|
||||||
property int bigMargins: 20
|
property int bigMargins: 20
|
||||||
|
|
||||||
|
|||||||
@ -87,7 +87,7 @@ Page {
|
|||||||
Label {
|
Label {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: qsTr("Please press the button on your %1 box to authenticate this device.").arg(Configuration.systemName)
|
text: qsTr("Please press the button on your %1 gateway to authenticate this device.").arg(Configuration.systemName)
|
||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -86,7 +86,7 @@ MainViewBase {
|
|||||||
rootMeter: root.rootMeter
|
rootMeter: root.rootMeter
|
||||||
meters: consumers
|
meters: consumers
|
||||||
title: qsTr("Total consumed energy")
|
title: qsTr("Total consumed energy")
|
||||||
visible: consumers.count > 0
|
visible: rootMeterTotalEnergyState || consumers.count > 0
|
||||||
}
|
}
|
||||||
|
|
||||||
SmartMeterChart {
|
SmartMeterChart {
|
||||||
|
|||||||
Reference in New Issue
Block a user