From 34295524334e62518350fdd989e9f9f9a5177790 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 19 Dec 2020 14:14:50 -0800 Subject: mobile/UI: correctly color the action button icons for dive list This uses one of our fixes to Kirigami to allows us to set the correct overlay color for our icons. Signed-off-by: Dirk Hohndel --- mobile-widgets/qml/DiveList.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mobile-widgets/qml') diff --git a/mobile-widgets/qml/DiveList.qml b/mobile-widgets/qml/DiveList.qml index 7a8a7e668..c2c8b404f 100644 --- a/mobile-widgets/qml/DiveList.qml +++ b/mobile-widgets/qml/DiveList.qml @@ -14,7 +14,7 @@ Kirigami.ScrollablePage { verticalScrollBarPolicy: Qt.ScrollBarAlwaysOff property int dlHorizontalPadding: Kirigami.Units.gridUnit / 2 - Kirigami.Units.smallSpacing + 1 property QtObject diveListModel: null - + Kirigami.Theme.backgroundColor: subsurfaceTheme.backgroundColor // used for background of left and right action button supportsRefreshing: true onRefreshingChanged: { if (refreshing) { @@ -456,6 +456,7 @@ Kirigami.ScrollablePage { icon { name: ":/icons/list-add" } + color: subsurfaceTheme.primaryTextColor text: qsTr("Add dive") onTriggered: { startAddDive() @@ -466,6 +467,7 @@ Kirigami.ScrollablePage { icon { name: ":icons/ic_filter_list" } + color: subsurfaceTheme.primaryTextColor text: qsTr("Filter dives") onTriggered: { rootItem.filterToggle = !rootItem.filterToggle -- cgit v1.2.3-70-g09d2