Skip to content

Commit

Permalink
remove isBrowser
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-1337 committed Sep 30, 2024
1 parent 82f4245 commit 6181a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/pwa.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class PwaService {
) { }

public initPwaPrompt() {
if (this.platform.ANDROID || this.platform.isBrowser) {
if (this.platform.ANDROID) {
window.addEventListener('beforeinstallprompt', (event: any) => { // eslint-disable-line @typescript-eslint/no-explicit-any
event.preventDefault();
this.promptEvent = event;
Expand Down

0 comments on commit 6181a4c

Please sign in to comment.