Port Kirigami.Action iconName to icon.name

This commit is contained in:
Devin Lin 2023-05-09 23:33:33 -04:00
parent 522dd14996
commit d7bc385013
2 changed files with 3 additions and 3 deletions

View file

@ -220,7 +220,7 @@ MobileShell.GridView {
menuActions: [
Kirigami.Action {
iconName: "emblem-favorite"
icon.name: "emblem-favorite"
text: i18n("Remove from favourites")
onTriggered: Halcyon.PinnedModel.removeEntry(model.index)
}

View file

@ -195,12 +195,12 @@ MobileShell.GridView {
menuActions: [
Kirigami.Action {
iconName: "emblem-favorite"
icon.name: "emblem-favorite"
text: i18n("Remove from favourites")
onTriggered: root.folder.removeApp(model.index)
},
Kirigami.Action {
iconName: "document-open-folder"
icon.name: "document-open-folder"
text: i18n("Move out of folder")
onTriggered: root.folder.moveAppOut(model.index)
}