File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -215,10 +215,8 @@ 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
219
- // where you don't want a flash of undesirable color).
220
- const bgCol = this . appOptions && this . appOptions . backgroundColor ? this . appOptions . backgroundColor : "#fff" ;
221
- launchView . backgroundColor = new Color ( bgCol ) ;
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' ) ;
222
220
}
223
221
224
222
setRootPage ( < any > launchView ) ;
You can’t perform that action at this time.
0 commit comments