Commit 293daabf authored by Volker Krause's avatar Volker Krause
Browse files

Fix action icons on Android

parent d4e4cf48
......@@ -42,6 +42,7 @@ if (ANDROID)
kirigami_package_breeze_icons(ICONS
document-open
edit-delete
go-next-symbolic
map-symbolic
view-calendar-day
view-refresh
......
......@@ -46,13 +46,23 @@ Item {
y: Math.max(0, label.implicitHeight - buttonLayout.implicitHeight)
QQC2.ToolButton {
icon.name: "map-symbolic"
visible: place.geo.isValid || !place.address.isEmpty
Kirigami.Icon {
anchors.centerIn: parent
width: Kirigami.Units.iconSizes.smallMedium
height: width
source: "map-symbolic"
}
onClicked: _appController.showOnMap(place)
}
QQC2.ToolButton {
icon.name: "go-next-symbolic"
visible: place.geo.isValid
Kirigami.Icon {
anchors.centerIn: parent
width: Kirigami.Units.iconSizes.smallMedium
height: width
source: "go-next-symbolic"
}
onClicked: _appController.navigateTo(place)
}
}
......
......@@ -32,7 +32,7 @@ Kirigami.ScrollablePage {
contextualActions: [
Kirigami.Action {
text: qsTr("Today")
iconName: "view-calendar"
iconName: "view-calendar-day"
onTriggered: listView.positionViewAtIndex(_timelineModel.todayRow, ListView.Beginning);
}
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment