X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout.component.ts;h=d242257146a3ca7c4e2b51d454e981d19a74f073;hb=1e9c1b1b44b4cbd4bc4b1e97e8e6ba2df93371de;hp=7b65d920f115d3ef1e9953cfb7b91f907a5535ca;hpb=78f912ed5733028ec2bf10c06c19f75b07943be2;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+about/about.component.ts b/client/src/app/+about/about.component.ts index 7b65d920f..d24225714 100644 --- a/client/src/app/+about/about.component.ts +++ b/client/src/app/+about/about.component.ts @@ -1,11 +1,17 @@ import { Component } from '@angular/core' +import { ScreenService } from '@app/core' @Component({ selector: 'my-about', - templateUrl: './about.component.html', - styleUrls: [ './about.component.scss' ] + templateUrl: './about.component.html' }) export class AboutComponent { + constructor ( + private screenService: ScreenService + ) { } + get isBroadcastMessageDisplayed () { + return this.screenService.isBroadcastMessageDisplayed + } }