Simplified GetIsPhone Return

This commit is contained in:
2025-03-28 15:02:50 +01:00
parent 6ea58d7990
commit eeec6d2f92

View File

@@ -14,13 +14,7 @@ export const useCapacitor = () => {
const getIsPhone = async () => {
let deviceInfo = await useCapacitor().getDeviceInfo()
/*if(deviceInfo.model.toLowerCase().includes('iphone')) {
return true
} else {
return false
}*/
return true
return deviceInfo.model.toLowerCase().includes('iphone')
}
const getNetworkStatus = async () => {