From 423f77eb675ec692aad55f1d1567f076fb6e03b0 Mon Sep 17 00:00:00 2001 From: fatme Date: Fri, 12 Jul 2019 13:00:01 +0300 Subject: [PATCH] fix: fix the missing icons in newly created apps on iOS devices --- lib/services/platform/add-platform-service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/services/platform/add-platform-service.ts b/lib/services/platform/add-platform-service.ts index 0d6ad7438e..9185127290 100644 --- a/lib/services/platform/add-platform-service.ts +++ b/lib/services/platform/add-platform-service.ts @@ -1,13 +1,12 @@ import * as path from "path"; import * as temp from "temp"; -import { PROJECT_FRAMEWORK_FOLDER_NAME, NativePlatformStatus } from "../../constants"; +import { PROJECT_FRAMEWORK_FOLDER_NAME } from "../../constants"; import { performanceLog } from "../../common/decorators"; export class AddPlatformService implements IAddPlatformService { constructor( private $fs: IFileSystem, private $pacoteService: IPacoteService, - private $projectChangesService: IProjectChangesService, private $projectDataService: IProjectDataService, private $terminalSpinnerService: ITerminalSpinnerService ) { } @@ -61,7 +60,6 @@ export class AddPlatformService implements IAddPlatformService { platformData.platformProjectService.ensureConfigurationFileInAppResources(projectData); await platformData.platformProjectService.interpolateData(projectData); platformData.platformProjectService.afterCreateProject(platformData.projectRoot, projectData); - await this.$projectChangesService.setNativePlatformStatus(platformData, projectData, { nativePlatformStatus: NativePlatformStatus.requiresPrepare }); } } $injector.register("addPlatformService", AddPlatformService);