Skip to content

Commit 253f4c1

Browse files
committed
chore: simplify bootstrap
1 parent 09ff83f commit 253f4c1

File tree

1 file changed

+1
-4
lines changed
  • apps/nativescript-demo-ng/src

1 file changed

+1
-4
lines changed

apps/nativescript-demo-ng/src/main.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import {
22
bootstrapApplication,
3-
NativeDialogModule,
43
provideNativeScriptHttpClient,
54
provideNativeScriptNgZone,
65
provideNativeScriptRouter,
@@ -10,10 +9,9 @@ import { Trace } from '@nativescript/core';
109

1110
// import { AppModule } from './app/app.module';
1211
import { withInterceptorsFromDi } from '@angular/common/http';
13-
import { importProvidersFrom } from '@angular/core';
1412
import { setWindowBackgroundColor } from '@nativescript/core/utils/ios';
15-
import { routes } from './app/app.routes';
1613
import { AppComponent } from './app/app.component';
14+
import { routes } from './app/app.routes';
1715

1816
Trace.enable();
1917
Trace.setCategories('ns-route-reuse-strategy,ns-router');
@@ -27,7 +25,6 @@ runNativeScriptAngularApp({
2725
providers: [
2826
provideNativeScriptHttpClient(withInterceptorsFromDi()),
2927
provideNativeScriptRouter(routes),
30-
importProvidersFrom(NativeDialogModule),
3128
provideNativeScriptNgZone(),
3229
],
3330
});

0 commit comments

Comments
 (0)