We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e0a9e commit 93b8e61Copy full SHA for 93b8e61
cli/lib/gather.js
@@ -295,10 +295,10 @@ export class Categorizer {
295
} else if (this.platform === 'ios') {
296
// if the image is the LaunchLogo.png, then let that pass so we can use it
297
// in the LaunchScreen.storyboard
298
- const m = info.name.match(LAUNCH_LOGO_REGEXP);
+ const m = relPath.match(LAUNCH_LOGO_REGEXP);
299
if (m) {
300
- info.scale = m[1];
301
- info.device = m[2];
+ info.scale = m[1]?.replace(/@|x/g, '');
+ info.device = m[2]?.replace('~', '');
302
results.launchLogos.set(relPath, info);
303
return;
304
}
0 commit comments