Skip to content

Commit 50c1a94

Browse files
fix android splash dir name 'drawable' (#440)
1 parent 100427d commit 50c1a94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platforms/android/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ export class AndroidAssetGenerator extends AssetGenerator {
511511
template: AndroidOutputAssetTemplateSplash,
512512
pipe: Sharp
513513
): Promise<[string, OutputInfo]> {
514-
const drawableDir = `drawable-${template.density}`;
514+
const drawableDir = template.density ? `drawable-${template.density}` : 'drawable';
515515

516516
const resPath = this.getResPath(project);
517517
const parentDir = join(resPath, drawableDir);

0 commit comments

Comments
 (0)