diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index 63b4037..fb4abdf 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -242,7 +242,7 @@ export default class Home extends Vue { } get isInStandaloneMode(): boolean { - return (window.matchMedia('(display-mode: standalone)').matches) || (window.navigator.standalone) || document.referrer.includes('android-app://'); + return (window.matchMedia('(display-mode: standalone)').matches) || ((window.navigator as any).standalone) || document.referrer.includes('android-app://'); } get canDownloadApp(): boolean {