mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 08:06:43 +08:00
fix PWAInstallPrompt
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { usePWAInstall } from '@/composables/usePWAInstall'
|
import { usePWAInstall } from '@/composables/usePWAInstall'
|
||||||
|
import { useToast } from 'vue-toastification'
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const {
|
const {
|
||||||
isInstallable,
|
isInstallable,
|
||||||
isInstalled,
|
isInstalled,
|
||||||
isPWASupported,
|
|
||||||
showInstallPrompt,
|
showInstallPrompt,
|
||||||
getInstallInstructions
|
getInstallInstructions
|
||||||
} = usePWAInstall()
|
} = usePWAInstall()
|
||||||
@@ -182,4 +182,4 @@ const instructions = computed(() => getInstallInstructions())
|
|||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user