Skip to content

Commit

Permalink
fix(ios): image asset suffix handling (#12749)
Browse files Browse the repository at this point in the history
Fixes TIMOB-28429
  • Loading branch information
garymathews authored and sgtcoolguy committed May 3, 2021
1 parent da7b6b4 commit 0f1b754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iphone/cli/commands/_build.js
Original file line number Diff line number Diff line change
Expand Up @@ -5598,7 +5598,7 @@ iOSBuilder.prototype.createAssetImageSets = async function createAssetImageSets(
}

const imageSet = {
idiom: !match[4] ? 'universal' : match[3].replace('~', ''),
idiom: !match[4] ? 'universal' : match[4].replace('~', ''),
filename: imageName + '.' + imageExt,
scale: !match[3] ? '1x' : match[3].replace('@', '')
};
Expand Down

0 comments on commit 0f1b754

Please sign in to comment.