Skip to content

Commit

Permalink
fix android splash dir name 'drawable' (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
machinaeXphilip authored Nov 18, 2022
1 parent 100427d commit 50c1a94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platforms/android/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ export class AndroidAssetGenerator extends AssetGenerator {
template: AndroidOutputAssetTemplateSplash,
pipe: Sharp
): Promise<[string, OutputInfo]> {
const drawableDir = `drawable-${template.density}`;
const drawableDir = template.density ? `drawable-${template.density}` : 'drawable';

const resPath = this.getResPath(project);
const parentDir = join(resPath, drawableDir);
Expand Down

0 comments on commit 50c1a94

Please sign in to comment.