on xenial help sign in
Use the correct API in PageHeader. Fixes: 1353048
7d27ba7Michał Sawicz
qml/Components/PageHeader.qml+2−1
@@ -171,6 +171,7 @@ Item {
171 property var styledItem: searchHeader
171 property var styledItem: searchHeader
172 property string title
172 property string title
173 property var config: PageHeadConfiguration {
173 property var config: PageHeadConfiguration {
174+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
174 backAction: Action {
175 backAction: Action {
175 iconName: "back"
176 iconName: "back"
176 onTriggered: {
177 onTriggered: {
@@ -249,10 +250,10 @@ Item {
249 contentHeight: height
250 contentHeight: height
250 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
251 opacity: headerContainer.clip || !headerContainer.showSearch ? 1 : 0 // setting visible false cause column to relayout
251 separatorSource: ""
252 separatorSource: ""
252− textColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
253 property var styledItem: header
253 property var styledItem: header
254 property string title: root.title
254 property string title: root.title
255 property var config: PageHeadConfiguration {
255 property var config: PageHeadConfiguration {
256+ foregroundColor: root.scopeStyle ? root.scopeStyle.headerForeground : "grey"
256 backAction: Action {
257 backAction: Action {
257 iconName: "back"
258 iconName: "back"
258 visible: root.showBackButton
259 visible: root.showBackButton