From 0b52d7a39861d7c4a9bb2f3cf5ad6557ad3d49e8 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 19 Dec 2020 14:10:32 -0800 Subject: mobile/UI: correctly color the action button icons for dive view This uses one of our changes to Kirigami that allows us to set the correct overlay color for our icons. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveDetails.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveDetails.qml b/mobile-widgets/qml/DiveDetails.qml index a98b698c7..a71b85d12 100644 --- a/mobile-widgets/qml/DiveDetails.qml +++ b/mobile-widgets/qml/DiveDetails.qml @@ -58,6 +58,7 @@ Kirigami.Page { bottomPadding: 0 background: Rectangle { color: subsurfaceTheme.backgroundColor } width: rootItem.colWidth + Kirigami.Theme.backgroundColor: subsurfaceTheme.backgroundColor property QtObject removeDiveFromTripAction: Kirigami.Action { text: qsTr ("Remove this dive from trip") @@ -222,6 +223,7 @@ Kirigami.Page { icon { name: ":/icons/trash-empty.svg" } + color: subsurfaceTheme.primaryTextColor onTriggered: manager.deleteDive(currentItem.modelData.id) } @@ -230,6 +232,7 @@ Kirigami.Page { icon { name: ":/icons/dialog-cancel.svg" } + color: subsurfaceTheme.primaryTextColor onTriggered: { endEditMode() } @@ -240,6 +243,7 @@ Kirigami.Page { icon { name: ":/icons/gps" } + color: subsurfaceTheme.primaryTextColor onTriggered: { showMap() mapPage.centerOnDiveSite(currentItem.modelData.diveSite) -- cgit v1.2.3-70-g09d2