mobile-widgets/qml: correct backgroundcolor in setup

Use subsurfaceTheme in DivePlannerSetup.

Signed-off-by: jan Iversen <jan@casacondor.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
jan Iversen 2020-01-12 15:00:20 +01:00 committed by Dirk Hohndel
parent 3ff65dd7cf
commit 6584cd82d5

View file

@ -9,6 +9,7 @@ import org.kde.kirigami 2.4 as Kirigami
Kirigami.ScrollablePage {
title: qsTr("Dive planner setup")
background: Rectangle { color: subsurfaceTheme.backgroundColor }
property string speedUnit: (Backend.length === Enums.METERS) ? qsTr(" m/min") : qsTr(" ft/min")
property string volumeUnit: (Backend.volume === Enums.LITER) ? qsTr(" l/min") : qsTr(" cuft/min")