Skip to content

Commit 58fc700

Browse files
author
Murat
committed
chore: fix appdelegate space issue
1 parent 999a081 commit 58fc700

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/tasks/appDelegateTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const findOrCreateBlock = (lang?: IosCodeType) => {
113113
end: blockEndIndex,
114114
match: blockBody,
115115
justCreated,
116-
space: ' '.repeat(2),
116+
space: _lang === 'swift' ? ' '.repeat(2) : '',
117117
};
118118

119119
return {

src/tasks/notificationServiceTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const findOrCreateBlock = (lang?: IosCodeType) => {
113113
end: blockEndIndex,
114114
match: blockBody,
115115
justCreated,
116-
space: '',
116+
space: _lang === 'swift' ? ' '.repeat(2) : '',
117117
};
118118

119119
return {

src/tasks/notificationViewControllerTask.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const findOrCreateBlock = (lang?: IosCodeType) => {
113113
end: blockEndIndex,
114114
match: blockBody,
115115
justCreated,
116-
space: '',
116+
space: _lang === 'swift' ? ' '.repeat(2) : '',
117117
};
118118

119119
return {

0 commit comments

Comments
 (0)