summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveList.qml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-23 18:07:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-23 19:49:57 -0700
commit8ba581a088b3723a7a111c5774c59da15df109ad (patch)
treecc9e8b9bfe272fde61cc9f878e16a3aaed8d82c6 /mobile-widgets/qml/DiveList.qml
parent694e833f906bb6ff3464525ac4ce0bf52c74dd6d (diff)
downloadsubsurface-8ba581a088b3723a7a111c5774c59da15df109ad.tar.gz
QML UI: use textColor instead of diveListTextColor
This color is used for more than just the dive list. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r--mobile-widgets/qml/DiveList.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml
index 3992ce2b3..6a511cec7 100644
--- a/mobile-widgets/qml/DiveList.qml
+++ b/mobile-widgets/qml/DiveList.qml
@@ -17,7 +17,7 @@ Kirigami.ScrollablePage {
width: subsurfaceTheme.columnWidth
property int credentialStatus: manager.credentialStatus
property int numDives: diveListView.count
- property color textColor: subsurfaceTheme.diveListTextColor
+ property color textColor: subsurfaceTheme.textColor
property int horizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1
supportsRefreshing: true
@@ -49,7 +49,7 @@ Kirigami.ScrollablePage {
width: parent.width
height: diveListEntry.height + Kirigami.Units.smallSpacing
backgroundColor: checked ? subsurfaceTheme.primaryColor : subsurfaceTheme.backgroundColor
- textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.diveListTextColor
+ textColor: checked ? subsurfaceTheme.primaryTextColor : subsurfaceTheme.textColor
property real detailsOpacity : 0