mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
PWAInstallationGuide added
This commit is contained in:
5
web/src/utils/checkIsIOS.jsx
Normal file
5
web/src/utils/checkIsIOS.jsx
Normal file
@@ -0,0 +1,5 @@
|
||||
export default () => {
|
||||
if (typeof window === `undefined` || typeof navigator === `undefined`) return false
|
||||
|
||||
return /iPhone|iPad|iPod/i.test(navigator.userAgent || navigator.vendor)
|
||||
}
|
||||
Reference in New Issue
Block a user