aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/core.module.ts
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2018-09-06 12:00:53 +0200
committerRigel Kent <sendmemail@rigelk.eu>2018-09-06 12:00:53 +0200
commit1a00c5619f11c5faecd384b011e037a8ed5fde46 (patch)
tree82d2830d5a25089d825711c225766711dc08c99f /client/src/app/core/core.module.ts
parent1c66c35c55eed2ffbbf97ec463a3539c35952ec3 (diff)
downloadPeerTube-1a00c5619f11c5faecd384b011e037a8ed5fde46.tar.gz
PeerTube-1a00c5619f11c5faecd384b011e037a8ed5fde46.tar.zst
PeerTube-1a00c5619f11c5faecd384b011e037a8ed5fde46.zip
refactor theme toggle into a service
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r--client/src/app/core/core.module.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts
index 30ac10119..d4917f902 100644
--- a/client/src/app/core/core.module.ts
+++ b/client/src/app/core/core.module.ts
@@ -14,6 +14,7 @@ import { ConfirmComponent, ConfirmService } from './confirm'
14import { throwIfAlreadyLoaded } from './module-import-guard' 14import { throwIfAlreadyLoaded } from './module-import-guard'
15import { LoginGuard, RedirectService, UserRightGuard } from './routing' 15import { LoginGuard, RedirectService, UserRightGuard } from './routing'
16import { ServerService } from './server' 16import { ServerService } from './server'
17import { ThemeService } from './theme'
17 18
18@NgModule({ 19@NgModule({
19 imports: [ 20 imports: [
@@ -45,6 +46,7 @@ import { ServerService } from './server'
45 AuthService, 46 AuthService,
46 ConfirmService, 47 ConfirmService,
47 ServerService, 48 ServerService,
49 ThemeService,
48 LoginGuard, 50 LoginGuard,
49 UserRightGuard, 51 UserRightGuard,
50 RedirectService 52 RedirectService