diff --git a/src/platforms/android/index.ts b/src/platforms/android/index.ts index f7664bb..8d1b7c3 100644 --- a/src/platforms/android/index.ts +++ b/src/platforms/android/index.ts @@ -233,7 +233,7 @@ export class AndroidAssetGenerator extends AssetGenerator { const collected = await Promise.all( icons.map(async (icon) => { - const [dest, outputInfo] = await this.generateLegacyLauncherIcon(project, asset, icon, pipe); + const [dest, outputInfo] = await this.generateLegacyLauncherIcon(project, asset, icon); return new OutputAsset( icon, @@ -248,7 +248,7 @@ export class AndroidAssetGenerator extends AssetGenerator { collected.push( ...(await Promise.all( icons.map(async (icon) => { - const [dest, outputInfo] = await this.generateRoundLauncherIcon(project, asset, icon, pipe); + const [dest, outputInfo] = await this.generateRoundLauncherIcon(project, asset, icon); return new OutputAsset( icon, @@ -270,11 +270,7 @@ export class AndroidAssetGenerator extends AssetGenerator { project: Project, asset: InputAsset, template: AndroidOutputAssetTemplate, - pipe: Sharp, ): Promise<[string, OutputInfo]> { - const radius = 4; - const svg = ``; - const resPath = this.getResPath(project); const parentDir = join(resPath, `mipmap-${template.density}`); if (!(await pathExists(parentDir))) { @@ -308,7 +304,6 @@ export class AndroidAssetGenerator extends AssetGenerator { project: Project, asset: InputAsset, template: AndroidOutputAssetTemplate, - pipe: Sharp, ): Promise<[string, OutputInfo]> { const svg = `