@@ -36,10 +36,10 @@ Rectangle {
3636 "subtitle": "bar",
3737 "summary": "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
3838 "attributes": [{"value":"text1","icon":"image://theme/ok"},{"value":"text2","icon":"image://theme/cancel"}],
39− "socialAttributes": [{"id":"like","label":"text1","icon":"image://theme/ok","temporaryIcon":"image://theme/undo"},
40− {"id":"share","label":"text2","icon":"image://theme/cancel"},
41− {"id":"like","label":"text1","icon":"image://theme/ok","temporaryIcon":"image://theme/undo"},
42− {"id":"share","label":"text2","icon":"image://theme/cancel"}],
39+ "socialActions": [{"id":"like","label":"text1","icon":"image://theme/ok","temporaryIcon":"image://theme/undo"},
40+ {"id":"share","label":"text2","icon":"image://theme/cancel"},
41+ {"id":"like","label":"text1","icon":"image://theme/ok","temporaryIcon":"image://theme/undo"},
42+ {"id":"share","label":"text2","icon":"image://theme/cancel"}],
4343 "quickPreviewData": {"uri": "/some/file", "duration": "14"}
4444 }'
4545
@@ -283,10 +283,10 @@ Rectangle {
283283 { tag: "Wide", width: units.gu(18), index: 0 },
284284 { tag: "Horizontal", width: units.gu(38), index: 5 },
285285 // Make sure card ends with header when there's no summary
286− { tag: "NoSummary", height: function() { var socialAttributesRow = findChild(cardTool, "socialAttributesRow");
287− return socialAttributesRow.y + socialAttributesRow.height + units.gu(1) }, index: 6 },
288− { tag: "HorizontalNoSummary", height: function() { var socialAttributesRow = findChild(cardTool, "socialAttributesRow");
289− return socialAttributesRow.y + socialAttributesRow.height + units.gu(1) },
286+ { tag: "NoSummary", height: function() { var socialActionsRow = findChild(cardTool, "socialActionsRow");
287+ return socialActionsRow.y + socialActionsRow.height + units.gu(1) }, index: 6 },
288+ { tag: "HorizontalNoSummary", height: function() { var socialActionsRow = findChild(cardTool, "socialActionsRow");
289+ return socialActionsRow.y + socialActionsRow.height + units.gu(1) },
290290 card_layout: "horizontal", index: 6 },
291291 ]
292292 }
@@ -640,10 +640,10 @@ Rectangle {
640640 waitForRendering(card);
641641
642642 signalSpy.target = card;
643− var socialAttributesRow = findChild(card, "socialAttributesRow");
644− var delegate0 = findChild(socialAttributesRow, "delegate0");
643+ var socialActionsRow = findChild(card, "socialActionsRow");
644+ var delegate0 = findChild(socialActionsRow, "delegate0");
645645 var icon0 = findChild(delegate0, "icon");
646− var delegate1 = findChild(socialAttributesRow, "delegate1");
646+ var delegate1 = findChild(socialActionsRow, "delegate1");
647647 var icon1 = findChild(delegate1, "icon");
648648
649649 compare(icon0.source, "image://theme/ok");