diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2020-12-19 14:14:50 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-20 10:51:18 -0800 |
commit | 34295524334e62518350fdd989e9f9f9a5177790 (patch) | |
tree | 8868111b0482c9382c309b97accddc9473e0809d /mobile-widgets/qml/DiveList.qml | |
parent | 0b52d7a39861d7c4a9bb2f3cf5ad6557ad3d49e8 (diff) | |
download | subsurface-34295524334e62518350fdd989e9f9f9a5177790.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/DiveList.qml')
-rw-r--r-- | mobile-widgets/qml/DiveList.qml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |