File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,11 @@ export class NativeScriptPlatformRef extends PlatformRef {
215
215
launchView = this . appOptions . launchView ;
216
216
} else {
217
217
launchView = new GridLayout ( ) ;
218
- // Custom launch view color (useful when doing async app intializers where you don't want a flash of undesirable color)
219
- launchView . backgroundColor = new Color ( this . appOptions && this . appOptions . backgroundColor ? this . appOptions . backgroundColor : '#fff' ) ;
218
+ // Custom launch view color
219
+ // Useful when using async app intializers to avoid flash of undesirable color
220
+ launchView . backgroundColor = new Color ( this . appOptions && this . appOptions . backgroundColor ? this . appOptions . backgroundColor : "#fff" ) ;
220
221
}
221
-
222
+
222
223
setRootPage ( < any > launchView ) ;
223
224
args . root = launchView ;
224
225
@@ -261,7 +262,7 @@ export class NativeScriptPlatformRef extends PlatformRef {
261
262
( < any > global ) . Zone . drainMicroTaskQueue ( ) ;
262
263
if ( isLogEnabled ( ) ) {
263
264
bootstrapLog ( "bootstrapAction called, draining micro tasks queue finished! Root: " + rootContent ) ;
264
- }
265
+ }
265
266
} ) ;
266
267
}
267
268
) ;
You can’t perform that action at this time.
0 commit comments