Commit 094c9d94 authored by Nate Graham's avatar Nate Graham 🔩

Restore proper background color on list and sources pages

Summary:
Kirigami changed the defaults in 49856625cc4fb7136099ce69bfb92d99a5bca480, so we have to
adapt in Discover.

CCBUG: 404827

Test Plan: {F6687104}

Reviewers: apol, #discover_software_store

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19712
parent 84f70236
......@@ -59,6 +59,12 @@ DiscoverPage {
.replace(/'/g, "'");
}
background: Rectangle {
color: Kirigami.Theme.backgroundColor
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
}
title: search.length>0 ? i18n("Search: %1", escapeHtml(search))
: category ? category.name : ""
......
......@@ -42,6 +42,12 @@ DiscoverPage
Navigation.openCategory(null, "")
}
background: Rectangle {
color: Kirigami.Theme.backgroundColor
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
}
signal clearSearch()
readonly property bool compact: page.width < 550 || !applicationWindow().wideScreen
......
......@@ -12,6 +12,12 @@ DiscoverPage {
title: i18n("Sources")
property string search: ""
background: Rectangle {
color: Kirigami.Theme.backgroundColor
Kirigami.Theme.colorSet: Kirigami.Theme.Window
Kirigami.Theme.inherit: false
}
mainItem: ListView {
id: sourcesView
model: QSortFilterProxyModel {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment