Skip to content

Commit 9ab29b8

Browse files
committed
Update to v4 suffix drawables
1 parent 20ba987 commit 9ab29b8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

local-cli/bundle/assetPathUtils.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010

1111
function getAndroidAssetSuffix(scale) {
1212
switch (scale) {
13-
case 0.75: return 'ldpi';
14-
case 1: return 'mdpi';
15-
case 1.5: return 'hdpi';
16-
case 2: return 'xhdpi';
17-
case 3: return 'xxhdpi';
18-
case 4: return 'xxxhdpi';
13+
case 0.75: return 'ldpi-v4';
14+
case 1: return 'mdpi-v4';
15+
case 1.5: return 'hdpi-v4';
16+
case 2: return 'xhdpi-v4';
17+
case 3: return 'xxhdpi-v4';
18+
case 4: return 'xxxhdpi-v4';
1919
}
2020
}
2121

@@ -53,4 +53,4 @@ module.exports = {
5353
getAndroidDrawableFolderName: getAndroidDrawableFolderName,
5454
getAndroidResourceIdentifier: getAndroidResourceIdentifier,
5555
getBasePath: getBasePath
56-
};
56+
};

0 commit comments

Comments
 (0)