X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp.component.ts;h=0ebd628fce46b1f5da440a7276cefa813323f820;hb=503c6f440abc8f5924c38c4bd63591cb6cefacec;hp=548173f61eb2e88e3746e7878c1832146db50ec6;hpb=18a6f04c071f7a0735eb39b8c67fd51a082d1a31;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index 548173f61..0ebd628fc 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -72,6 +72,7 @@ export class AppComponent implements OnInit { this.serverService.loadVideoPlaylistPrivacies() this.loadPlugins() + this.themeService.initialize() // Do not display menu on small screens if (this.screenService.isInSmallView()) { @@ -237,11 +238,7 @@ export class AppComponent implements OnInit { new Hotkey('g u', (event: KeyboardEvent): boolean => { this.router.navigate([ '/videos/upload' ]) return false - }, undefined, this.i18n('Go to the videos upload page')), - new Hotkey('shift+t', (event: KeyboardEvent): boolean => { - this.themeService.toggleDarkTheme() - return false - }, undefined, this.i18n('Toggle Dark theme')) + }, undefined, this.i18n('Go to the videos upload page')) ]) } }