Skip to content

Commit 622cef1

Browse files
committed
Pass platform from the public interface
1 parent d54294a commit 622cef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/services/assets-generation/assets-generation-service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ export class AssetsGenerationService implements IAssetsGenerationService {
1212
@exported("assetsGenerationService")
1313
public async generateIcons(resourceGenerationData: IResourceGenerationData): Promise<void> {
1414
this.$logger.info("Generating icons ...");
15-
await this.generateImagesForDefinitions(resourceGenerationData.imagePath, resourceGenerationData.resourcesPath, Icons);
15+
await this.generateImagesForDefinitions(resourceGenerationData.imagePath, resourceGenerationData.resourcesPath, Icons, resourceGenerationData.platform);
1616
this.$logger.info("Icons generation completed.");
1717
}
1818

1919
@exported("assetsGenerationService")
2020
public async generateSplashScreens(splashesGenerationData: ISplashesGenerationData): Promise<void> {
2121
this.$logger.info("Generating splash screens ...");
22-
await this.generateImagesForDefinitions(splashesGenerationData.imagePath, splashesGenerationData.resourcesPath, SplashScreens, splashesGenerationData.background);
22+
await this.generateImagesForDefinitions(splashesGenerationData.imagePath, splashesGenerationData.resourcesPath, SplashScreens, splashesGenerationData.background, splashesGenerationData.platform);
2323
this.$logger.info("Splash screens generation completed.");
2424
}
2525

0 commit comments

Comments
 (0)