Skip to content

Commit

Permalink
added missied sizes for iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bossly committed Nov 5, 2021
1 parent 3ed1642 commit 1551a8a
Showing 1 changed file with 38 additions and 2 deletions.
40 changes: 38 additions & 2 deletions lib/ios.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ List<IosIconTemplate> iosIcons = <IosIconTemplate>[
IosIconTemplate(name: '-29x29@1x', size: 29),
IosIconTemplate(name: '-29x29@2x', size: 58),
IosIconTemplate(name: '-29x29@3x', size: 87),
IosIconTemplate(name: '-57x57@1x', size: 57),
IosIconTemplate(name: '-57x57@2x', size: 114),
IosIconTemplate(name: '-40x40@1x', size: 40),
IosIconTemplate(name: '-40x40@2x', size: 80),
IosIconTemplate(name: '-40x40@3x', size: 120),
IosIconTemplate(name: '-50x50@1x', size: 50),
IosIconTemplate(name: '-50x50@2x', size: 100),
IosIconTemplate(name: '-57x57@1x', size: 57),
IosIconTemplate(name: '-57x57@2x', size: 114),
IosIconTemplate(name: '-60x60@2x', size: 120),
IosIconTemplate(name: '-60x60@3x', size: 180),
IosIconTemplate(name: '-72x72@1x', size: 72),
Expand Down Expand Up @@ -254,6 +254,30 @@ List<Map<String, String>> createImageList(String fileNamePrefix) {
filename: '$fileNamePrefix[email protected]',
scale: '3x')
.toJson(),
ContentsImageObject(
size: '50x50',
idiom: 'iphone',
filename: '$fileNamePrefix[email protected]',
scale: '1x')
.toJson(),
ContentsImageObject(
size: '50x50',
idiom: 'iphone',
filename: '$fileNamePrefix[email protected]',
scale: '2x')
.toJson(),
ContentsImageObject(
size: '57x57',
idiom: 'iphone',
filename: '$fileNamePrefix[email protected]',
scale: '1x')
.toJson(),
ContentsImageObject(
size: '57x57',
idiom: 'iphone',
filename: '$fileNamePrefix[email protected]',
scale: '2x')
.toJson(),
ContentsImageObject(
size: '60x60',
idiom: 'iphone',
Expand Down Expand Up @@ -302,6 +326,18 @@ List<Map<String, String>> createImageList(String fileNamePrefix) {
filename: '$fileNamePrefix[email protected]',
scale: '2x')
.toJson(),
ContentsImageObject(
size: '72x72',
idiom: 'ipad',
filename: '$fileNamePrefix[email protected]',
scale: '1x')
.toJson(),
ContentsImageObject(
size: '72x72',
idiom: 'ipad',
filename: '$fileNamePrefix[email protected]',
scale: '2x')
.toJson(),
ContentsImageObject(
size: '76x76',
idiom: 'ipad',
Expand Down

0 comments on commit 1551a8a

Please sign in to comment.