mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
694e833f90
commit
8ba581a088
4 changed files with 17 additions and 14 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue