dev #14384 Правка ошибок отображения WPA КофеЛайк: fix install button
This commit is contained in:
parent
798ec5e21a
commit
50ae2b601e
@ -37,6 +37,9 @@ export class DownloadAppDirective implements OnInit {
|
||||
if (this.deviceType === 'ios') {
|
||||
this.el.nativeElement.style.display = 'block';
|
||||
}
|
||||
if (window.matchMedia('(display-mode: standalone)').matches) {
|
||||
this.el.nativeElement.style.display = 'none';
|
||||
}
|
||||
}
|
||||
|
||||
@HostListener('window:beforeinstallprompt', ['$event'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user