X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Babout%2Fabout.component.ts;h=d242257146a3ca7c4e2b51d454e981d19a74f073;hb=1e9c1b1b44b4cbd4bc4b1e97e8e6ba2df93371de;hp=0c91cd75f8373924be1dc3958bcc22f2d678b2b1;hpb=41a676db3989fe3eca91301ac5f5aea30d98654a;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+about/about.component.ts b/client/src/app/+about/about.component.ts index 0c91cd75f..d24225714 100644 --- a/client/src/app/+about/about.component.ts +++ b/client/src/app/+about/about.component.ts @@ -1,4 +1,5 @@ import { Component } from '@angular/core' +import { ScreenService } from '@app/core' @Component({ selector: 'my-about', @@ -6,5 +7,11 @@ import { Component } from '@angular/core' }) export class AboutComponent { + constructor ( + private screenService: ScreenService + ) { } + get isBroadcastMessageDisplayed () { + return this.screenService.isBroadcastMessageDisplayed + } }