diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 13:57:10 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-21 13:57:13 -0800 |
commit | 052a46b562695527d46b713bc831a11cae10482a (patch) | |
tree | e05e90f84b2fc21dc48a3340ed3a5b83d23a8021 /mobile-widgets/qml | |
parent | 40a0916de87fdb3d7023f830cbbefdf9cfc5b177 (diff) | |
download | subsurface-052a46b562695527d46b713bc831a11cae10482a.tar.gz |
mobile/UI: again, correct side button colors
I am confused how this worked and then got broken, but this appears to
once again fix the colors.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml')
-rw-r--r-- | mobile-widgets/qml/DiveDetails.qml | 6 | ||||
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index 71fad0a65..02d693b7e 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -223,7 +223,7 @@ Kirigami.Page { icon { name: ":/icons/trash-empty.svg" } - color: subsurfaceTheme.primaryTextColor + color: subsurfaceTheme.textColor onTriggered: manager.deleteDive(currentItem.modelData.id) } @@ -232,7 +232,7 @@ Kirigami.Page { icon { name: ":/icons/dialog-cancel.svg" } - color: subsurfaceTheme.primaryTextColor + color: subsurfaceTheme.textColor onTriggered: { endEditMode() } @@ -243,7 +243,7 @@ Kirigami.Page { icon { name: ":/icons/gps" } - color: subsurfaceTheme.primaryTextColor + color: subsurfaceTheme.textColor onTriggered: { showMap() mapPage.centerOnDiveSite(currentItem.modelData.diveSite) diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 74662bce1..138b807e8 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -457,7 +457,7 @@ Kirigami.ScrollablePage { icon { name: ":/icons/list-add" } - color: subsurfaceTheme.primaryTextColor + color: subsurfaceTheme.textColor text: qsTr("Add dive") onTriggered: { startAddDive() @@ -468,7 +468,7 @@ Kirigami.ScrollablePage { icon { name: ":icons/ic_filter_list" } - color: subsurfaceTheme.primaryTextColor + color: subsurfaceTheme.textColor text: qsTr("Filter dives") onTriggered: { rootItem.filterToggle = !rootItem.filterToggle |