File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -50,10 +50,7 @@ let InAppBrowserModuleInstance: any;
5050
5151function setup ( ) {
5252 @NativeClass ( )
53- class InAppBrowserModule
54- extends java . lang . Object
55- implements InAppBrowserClassMethods
56- {
53+ class InAppBrowserModule extends java . lang . Object implements InAppBrowserClassMethods {
5754 private static ERROR_CODE = "InAppBrowser" ;
5855 private static KEY_TOOLBAR_COLOR = "toolbarColor" ;
5956 private static KEY_SECONDARY_TOOLBAR_COLOR = "secondaryToolbarColor" ;
Original file line number Diff line number Diff line change @@ -35,10 +35,7 @@ let InAppBrowserModuleInstance: any;
3535
3636function setup ( ) {
3737 @NativeClass ( )
38- class InAppBrowserModule
39- extends NSObject
40- implements InAppBrowserClassMethods
41- {
38+ class InAppBrowserModule extends NSObject implements InAppBrowserClassMethods {
4239 public static ObjCProtocols = protocols ;
4340
4441 private safariVC : SFSafariViewController = null ;
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function handleAppStateActiveOnce(): Promise<Activity> {
116116 }
117117 Application . android . once (
118118 AndroidApplication . activityResumedEvent ,
119- handleAppStateChange ,
119+ handleAppStateChange
120120 ) ;
121121 } ) ;
122122}
@@ -142,14 +142,14 @@ async function checkResultAndReturnUrl(
142142/* Android polyfill for AuthenticationSession flow */
143143export async function openAuthSessionPolyfillAsync (
144144 open : ( ) => Promise < BrowserResult > ,
145- returnUrl : string ,
145+ returnUrl : string
146146) : Promise < AuthSessionResult > {
147147 return await Promise . race ( [
148148 open ( ) . then ( function ( result ) {
149149 return checkResultAndReturnUrl ( returnUrl , result ) ;
150150 } ) ,
151151 waitForRedirectAsync ( returnUrl ) ,
152- ] )
152+ ] ) ;
153153}
154154
155155export function closeAuthSessionPolyfillAsync ( ) : void {
You can’t perform that action at this time.
0 commit comments