Commit 7056b651 authored by Nate Graham's avatar Nate Graham Committed by Aleix Pol Gonzalez
Browse files

Stop hardcoding sidebar colors

The sidebar now dynamically colors itself according to desktop vs mobile
automatically in Kirigami itself, so we don't need to implement this
here in Discover anymore.
parent 81569cea
...@@ -5,7 +5,7 @@ set(PROJECT_VERSION_MAJOR 5) ...@@ -5,7 +5,7 @@ set(PROJECT_VERSION_MAJOR 5)
cmake_minimum_required(VERSION 2.8.12) cmake_minimum_required(VERSION 2.8.12)
set(QT_MIN_VERSION "5.14.0") set(QT_MIN_VERSION "5.14.0")
set(KF5_MIN_VERSION "5.70.0") set(KF5_MIN_VERSION "5.71.0")
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
......
...@@ -40,9 +40,6 @@ Kirigami.GlobalDrawer { ...@@ -40,9 +40,6 @@ Kirigami.GlobalDrawer {
property bool wideScreen: false property bool wideScreen: false
bannerImageSource: "qrc:/banners/banner.svg" bannerImageSource: "qrc:/banners/banner.svg"
// In desktop view, it's a sidebar, and sidebars get the view BG color
Kirigami.Theme.colorSet: modal ? Kirigami.Theme.Window : Kirigami.Theme.View
resetMenuOnTriggered: false resetMenuOnTriggered: false
onBannerClicked: { onBannerClicked: {
......
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