Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/platforms/android/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ export class AndroidAssetGenerator extends AssetGenerator {

private async generateAdaptiveIconForeground(asset: InputAsset, project: Project): Promise<OutputAsset[]> {
const icons = Object.values(AndroidAssetTemplates).filter(
(a) => a.kind === AssetKind.Icon,
(a) => a.kind === AssetKind.AdaptiveIcon,
) as AndroidOutputAssetTemplateAdaptiveIcon[];

const pipe = asset.pipeline();
Expand Down Expand Up @@ -397,7 +397,7 @@ export class AndroidAssetGenerator extends AssetGenerator {

private async generateAdaptiveIconBackground(asset: InputAsset, project: Project): Promise<OutputAsset[]> {
const icons = Object.values(AndroidAssetTemplates).filter(
(a) => a.kind === AssetKind.Icon,
(a) => a.kind === AssetKind.AdaptiveIcon,
) as AndroidOutputAssetTemplateAdaptiveIcon[];

const pipe = asset.pipeline();
Expand Down