diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-06 12:00:53 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2018-09-06 12:00:53 +0200 |
commit | 1a00c5619f11c5faecd384b011e037a8ed5fde46 (patch) | |
tree | 82d2830d5a25089d825711c225766711dc08c99f /client/src/app/core/core.module.ts | |
parent | 1c66c35c55eed2ffbbf97ec463a3539c35952ec3 (diff) | |
download | PeerTube-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.ts | 2 |
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' | |||
14 | import { throwIfAlreadyLoaded } from './module-import-guard' | 14 | import { throwIfAlreadyLoaded } from './module-import-guard' |
15 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' | 15 | import { LoginGuard, RedirectService, UserRightGuard } from './routing' |
16 | import { ServerService } from './server' | 16 | import { ServerService } from './server' |
17 | import { 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 |