Skip to content

Commit c0c6644

Browse files
committed
Switched from using universal to iPhone & iPad.
1 parent 6be580b commit c0c6644

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ and the iOS Contents.json file will look like this, so you'll have generated fil
2828
{
2929
"images": [
3030
{
31-
"idiom": "universal",
31+
"idiom": "iphone",
3232
"scale": "1x",
3333
"fileName": "test.png"
3434
},
3535
{
36-
"idiom": "universal",
36+
"idiom": "iphone",
3737
"scale": "2x",
3838
"fileName": "[email protected]"
3939
},

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,8 +399,8 @@
399399
}
400400

401401
var iosDensities = [
402-
{suffix: "", scale: 1, idiom: "universal", iosScale: "1x" },
403-
{suffix: "@2x", scale: 2.0, idiom: "universal", iosScale: "2x" },
402+
{suffix: "", scale: 1, idiom: "iphone", iosScale: "1x" },
403+
{suffix: "@2x", scale: 2.0, idiom: "iphone", iosScale: "2x" },
404404
{suffix: "@2x", scale: 2.0, idiom: "ipad", iosScale: "1x" },
405405
{suffix: "@2x~ipad", scale: 4.0, idiom: "ipad", iosScale: "2x" }
406406
];

0 commit comments

Comments
 (0)