From 052a46b562695527d46b713bc831a11cae10482a Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 21 Dec 2020 13:57:10 -0800 Subject: 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 --- mobile-widgets/qml/DiveDetails.qml | 6 +++--- mobile-widgets/qml/DiveList.qml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'mobile-widgets/qml') 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 -- cgit v1.2.3-70-g09d2