summaryrefslogtreecommitdiffstats
path: root/mobile-widgets/qml/DiveDetailsView.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/DiveDetailsView.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/DiveDetailsView.qml')
-rw-r--r--mobile-widgets/qml/DiveDetailsView.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/mobile-widgets/qml/DiveDetailsView.qml b/mobile-widgets/qml/DiveDetailsView.qml
index b060df733..95aed5a47 100644
--- a/mobile-widgets/qml/DiveDetailsView.qml
+++ b/mobile-widgets/qml/DiveDetailsView.qml
@@ -96,21 +96,21 @@ Item {
text: dive.date + " " + dive.time
width: Math.max(locationText.width * 0.45, paintedWidth)
font.pointSize: subsurfaceTheme.smallPointSize
- color: subsurfaceTheme.diveListTextColor
+ color: subsurfaceTheme.textColor
}
// let's try to show the depth / duration very compact
Kirigami.Label {
text: dive.depth + ' / ' + dive.duration
width: Math.max(Kirigami.Units.gridUnit * 3, paintedWidth)
font.pointSize: subsurfaceTheme.smallPointSize
- color: subsurfaceTheme.diveListTextColor
+ color: subsurfaceTheme.textColor
}
}
Kirigami.Label {
id: numberText
text: "#" + dive.number
font.pointSize: subsurfaceTheme.smallPointSize
- color: subsurfaceTheme.diveListTextColor
+ color: subsurfaceTheme.textColor
anchors {
right: parent.right
top: locationText.bottom