Skip to content

Commit

Permalink
Support appDelegate being cpp (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber authored Mar 18, 2023
1 parent fef947a commit d6061cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/withSpotlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const modifyAppDelegate = (appDelegate: string) => {

const withSpotlightAppDelegate = (config: any) => {
return withAppDelegate(config, (config) => {
if (config.modResults.language === "objc") {
if (['objc', 'objcpp'].includes(config.modResults.language)) {
config.modResults.contents = modifyAppDelegate(
config.modResults.contents
);
Expand Down

0 comments on commit d6061cc

Please sign in to comment.