diff --git a/src/platforms/android/index.ts b/src/platforms/android/index.ts index f7664bb..b2ceb44 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,10 +270,9 @@ export class AndroidAssetGenerator extends AssetGenerator { project: Project, asset: InputAsset, template: AndroidOutputAssetTemplate, - pipe: Sharp, ): Promise<[string, OutputInfo]> { - const radius = 4; - const svg = ``; + //const radius = 4; + //const svg = ``; const resPath = this.getResPath(project); const parentDir = join(resPath, `mipmap-${template.density}`); @@ -308,7 +307,6 @@ export class AndroidAssetGenerator extends AssetGenerator { project: Project, asset: InputAsset, template: AndroidOutputAssetTemplate, - pipe: Sharp, ): Promise<[string, OutputInfo]> { const svg = `