Skip to content

Commit

Permalink
Merge pull request #38 from miroapp/remove-workaround
Browse files Browse the repository at this point in the history
Fix duplicate images
  • Loading branch information
inderjits1 authored Jun 21, 2024
2 parents bf8b428 + 8d734b7 commit 056385a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Miro.sketchplugin/Contents/Sketch/core/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ function Api() {
var sizeData = '\\"width\\": ' + width + ', \\"height\\":' + height;

if (resourceId != nil && (originalId == nil || [objectId isEqualToString:originalId])) {
// dataArray.push(makeDataString(transformationData, sizeData, resourceId));
dataArray.push(makeDataString(transformationData, sizeData)); // v1 api doesnt let us delete/switch images anymore
dataArray.push(makeDataString(transformationData, sizeData, resourceId));
} else {
dataArray.push(makeDataString(transformationData, sizeData));
}
Expand Down
2 changes: 1 addition & 1 deletion Miro.sketchplugin/Contents/Sketch/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Miro",
"identifier" : "com.realtimeboard.sketch.plugin",
"version" : "1.7.1",
"version" : "1.7.2",
"description" : "Export and sync your artboards with Miro",
"authorEmail" : "support@miro.com",
"author" : "Miro",
Expand Down

0 comments on commit 056385a

Please sign in to comment.