mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 06:05:52 +02:00
tslint changes
This commit is contained in:
@@ -4,24 +4,24 @@ import { InstallService } from '../../services/installService';
|
||||
import { isMobile } from '../../../client/data';
|
||||
|
||||
@Component({
|
||||
selector: 'install-button',
|
||||
templateUrl: 'install-button.pug',
|
||||
styleUrls: ['install-button.scss'],
|
||||
selector: 'install-button',
|
||||
templateUrl: 'install-button.pug',
|
||||
styleUrls: ['install-button.scss'],
|
||||
})
|
||||
export class InstallButton {
|
||||
readonly closeIcon = faTimes;
|
||||
constructor(private installService: InstallService) {
|
||||
}
|
||||
get canInstall() {
|
||||
return this.installService.canInstall;
|
||||
}
|
||||
get isMobile() {
|
||||
return isMobile;
|
||||
}
|
||||
install() {
|
||||
this.installService.install();
|
||||
}
|
||||
dismiss() {
|
||||
this.installService.dismiss();
|
||||
}
|
||||
readonly closeIcon = faTimes;
|
||||
constructor(private installService: InstallService) {
|
||||
}
|
||||
get canInstall() {
|
||||
return this.installService.canInstall;
|
||||
}
|
||||
get isMobile() {
|
||||
return isMobile;
|
||||
}
|
||||
install() {
|
||||
this.installService.install();
|
||||
}
|
||||
dismiss() {
|
||||
this.installService.dismiss();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user