@@ -24,10 +24,10 @@ Item {
2424 objectName: "dashNavigation"
2525
2626 property var scope: null
27+ property var scopeStyle: null
2728
2829 property alias windowWidth: blackRect.width
2930 property alias windowHeight: blackRect.height
30− property var scopeStyle: null
3131 readonly property var openList: {
3232 if (navigationButton.showList) return navigationButton.listView;
3333 if (altNavigationButton.showList) return altNavigationButton.listView;
@@ -43,7 +43,9 @@ Item {
4343
4444 QtObject {
4545 id: d
46− readonly property color foregroundColor: scopeStyle.getTextColor(backgroundItem.luminance)
46+ readonly property color foregroundColor: root.scopeStyle
47+ ? root.scopeStyle.getTextColor(backgroundItem.luminance)
48+ : Theme.palette.normal.baseText
4749 readonly property bool bothVisible: altNavigationButton.visible && navigationButton.visible
4850 readonly property real navigationWidth: root.width >= units.gu(60) ? units.gu(40) : root.width
4951 readonly property real buttonWidth: navigationWidth / (bothVisible ? 2 : 1)
@@ -55,7 +57,7 @@ Item {
5557 opacity: openList && openList.currentItem && openList.currentItem.visible ? 0.5 : 0
5658 Behavior on opacity { UbuntuNumberAnimation { duration: UbuntuAnimation.SnapDuration } }
5759 anchors { left: parent.left; right: parent.right }
58− visible: opacity != 0
60+ visible: opacity > 0
5961 }
6062
6163 Background {