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>
This commit is contained in:
Dirk Hohndel 2020-12-21 13:57:10 -08:00
parent 40a0916de8
commit 052a46b562
2 changed files with 5 additions and 5 deletions

View file

@ -223,7 +223,7 @@ Kirigami.Page {
icon { icon {
name: ":/icons/trash-empty.svg" name: ":/icons/trash-empty.svg"
} }
color: subsurfaceTheme.primaryTextColor color: subsurfaceTheme.textColor
onTriggered: manager.deleteDive(currentItem.modelData.id) onTriggered: manager.deleteDive(currentItem.modelData.id)
} }
@ -232,7 +232,7 @@ Kirigami.Page {
icon { icon {
name: ":/icons/dialog-cancel.svg" name: ":/icons/dialog-cancel.svg"
} }
color: subsurfaceTheme.primaryTextColor color: subsurfaceTheme.textColor
onTriggered: { onTriggered: {
endEditMode() endEditMode()
} }
@ -243,7 +243,7 @@ Kirigami.Page {
icon { icon {
name: ":/icons/gps" name: ":/icons/gps"
} }
color: subsurfaceTheme.primaryTextColor color: subsurfaceTheme.textColor
onTriggered: { onTriggered: {
showMap() showMap()
mapPage.centerOnDiveSite(currentItem.modelData.diveSite) mapPage.centerOnDiveSite(currentItem.modelData.diveSite)

View file

@ -457,7 +457,7 @@ Kirigami.ScrollablePage {
icon { icon {
name: ":/icons/list-add" name: ":/icons/list-add"
} }
color: subsurfaceTheme.primaryTextColor color: subsurfaceTheme.textColor
text: qsTr("Add dive") text: qsTr("Add dive")
onTriggered: { onTriggered: {
startAddDive() startAddDive()
@ -468,7 +468,7 @@ Kirigami.ScrollablePage {
icon { icon {
name: ":icons/ic_filter_list" name: ":icons/ic_filter_list"
} }
color: subsurfaceTheme.primaryTextColor color: subsurfaceTheme.textColor
text: qsTr("Filter dives") text: qsTr("Filter dives")
onTriggered: { onTriggered: {
rootItem.filterToggle = !rootItem.filterToggle rootItem.filterToggle = !rootItem.filterToggle