Skip to content

Commit 93b8e61

Browse files
authored
fix(ios): include LaunchLogos again (#14355)
1 parent 21e0a9e commit 93b8e61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/lib/gather.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,10 @@ export class Categorizer {
295295
} else if (this.platform === 'ios') {
296296
// if the image is the LaunchLogo.png, then let that pass so we can use it
297297
// in the LaunchScreen.storyboard
298-
const m = info.name.match(LAUNCH_LOGO_REGEXP);
298+
const m = relPath.match(LAUNCH_LOGO_REGEXP);
299299
if (m) {
300-
info.scale = m[1];
301-
info.device = m[2];
300+
info.scale = m[1]?.replace(/@|x/g, '');
301+
info.device = m[2]?.replace('~', '');
302302
results.launchLogos.set(relPath, info);
303303
return;
304304
}

0 commit comments

Comments
 (0)