Skip to content

Commit 5cbd2be

Browse files
authored
Merge pull request #47 from wwelling/develop
Fix minor lint errors
2 parents eac042b + b83f4df commit 5cbd2be

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

demo/nativescript.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { NativeScriptConfig } from '@nativescript/core'
1+
import { NativeScriptConfig } from '@nativescript/core';
22

33
export default {
44
id: 'org.nativescript.demo',
@@ -9,4 +9,4 @@ export default {
99
},
1010
useLegacyWorkflow: false,
1111
appPath: 'app',
12-
} as NativeScriptConfig
12+
} as NativeScriptConfig;

src/utils.android.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ async function checkResultAndReturnUrl(
118118
): Promise<AuthSessionResult> {
119119
if (Application.android && result.type !== BROWSER_TYPES.CANCEL) {
120120
try {
121-
const activity = await handleAppStateActiveOnce()
121+
const activity = await handleAppStateActiveOnce();
122122
const url = getInitialURL(activity);
123123
return url && url.startsWith(returnUrl)
124124
? { url: url, type: BROWSER_TYPES.SUCCESS }
@@ -171,7 +171,7 @@ export function getDefaultBrowser(context: Context): string {
171171
CHROME_PACKAGE_DEV,
172172
LOCAL_PACKAGE
173173
]));
174-
if (packageName == null && resolveInfos != null && resolveInfos.size() > 0){
174+
if (packageName == null && resolveInfos != null && resolveInfos.size() > 0) {
175175
return resolveInfos.get(0).serviceInfo.packageName;
176176
}
177177
return packageName;

src/utils.ios.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ export function getPresentationStyle (styleKey: string): UIModalPresentationStyl
2727
return presentationStyles[styleKey] !== undefined
2828
? presentationStyles[styleKey]
2929
: defaultModalPresentationStyle;
30-
};
30+
}
3131

3232
export function getTransitionStyle (styleKey: string): UIModalTransitionStyle {
3333
return transitionStyles[styleKey] !== undefined ? transitionStyles[styleKey] : UIModalTransitionStyle.CoverVertical;
34-
};
34+
}
3535

3636
export function dismissWithoutAnimation(controller: SFSafariViewController): void {
3737
const transition = CATransition.animation();
@@ -48,4 +48,4 @@ export function dismissWithoutAnimation(controller: SFSafariViewController): voi
4848
ctrl.dismissViewControllerAnimatedCompletion(false, () => {
4949
ctrl.view.layer.removeAnimationForKey(animationKey);
5050
});
51-
}
51+
}

0 commit comments

Comments
 (0)