summaryrefslogtreecommitdiffstats
path: root/homescreen/qml/IconItem.qml
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-14 05:31:34 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-14 05:31:34 +0000
commitb11094e01c1fe8000475691591bb8f93376acec4 (patch)
tree4f233b362031df628e6329876bc4ccc8a4caecdd /homescreen/qml/IconItem.qml
parent96c3e6d3562556d9877e0ced5bd1ab9197502708 (diff)
Revert "Display blank icon with first letter in new color scheme"
JSM: Reverting as comments were not addressed in c12525 . This reverts commit 96c3e6d3562556d9877e0ced5bd1ab9197502708. Change-Id: Ib254e2c219e033a6b1ec755c32ddeca66dbb02bf Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'homescreen/qml/IconItem.qml')
-rw-r--r--homescreen/qml/IconItem.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/homescreen/qml/IconItem.qml b/homescreen/qml/IconItem.qml
index b0373d2..c616722 100644
--- a/homescreen/qml/IconItem.qml
+++ b/homescreen/qml/IconItem.qml
@@ -13,7 +13,7 @@ Item {
y: 60
font.pixelSize: 125
anchors.horizontalCenter: parent.horizontalCenter
- color: "#00ADDC"
+ color: "#5CFE96"
text: model.icon == 'Blank' ? model.name.substring(0,1).toUpperCase() : ''
}
@@ -27,7 +27,7 @@ Item {
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
color: "white"
- text: qsTr(model.name.toUpperCase())
+ text: model.icon == 'Blank' ? model.name.toUpperCase() : ''
}
source: './images/HMI_AppLauncher_%1_%2-01.svg'.arg(model.icon).arg(loc.pressed && (loc.index === model.index || loc.currentId === model.id) ? 'Active' : 'Inactive')