summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DownloadFromDiveComputer.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 15:47:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-21 17:20:07 -0700
commite0f46b033d5f641e8bd78e665cbc9539977fa7cb (patch)
treee6480cb1407997286a71196d7aaa9454dacb32aa /mobile-widgets/qml/DownloadFromDiveComputer.qml
parent8f2fc84ae74b12d54b7a801624c27c05fa579582 (diff)
downloadsubsurface-e0f46b033d5f641e8bd78e665cbc9539977fa7cb.tar.gz
QML UI: attempt to add dark theme
This isn't great, yet, but a first step to show that this is possible (and in doing so I found quite a few spots where the colors weren't correctly propagating, yet). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DownloadFromDiveComputer.qml')
-rw-r--r--mobile-widgets/qml/DownloadFromDiveComputer.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile-widgets/qml/DownloadFromDiveComputer.qml b/mobile-widgets/qml/DownloadFromDiveComputer.qml
index 460fa151e..85a052692 100644
--- a/mobile-widgets/qml/DownloadFromDiveComputer.qml
+++ b/mobile-widgets/qml/DownloadFromDiveComputer.qml
@@ -137,7 +137,7 @@ Kirigami.Page {
depth: model.depth
selected: model.selected
- backgroundColor: selectAll ? Kirigami.Theme.highlightColor : Kirigami.Theme.viewBackgroundColor
+ backgroundColor: selectAll ? subsurfaceTheme.darkPrimaryColor : subsurfaceTheme.backgroundColor
onClicked : {
console.log("Selecting index" + index);