Removed Capacitor
This commit is contained in:
@@ -15,14 +15,8 @@ const props = defineProps({
|
||||
*/
|
||||
async function openLink(link) {
|
||||
if (link.external) {
|
||||
if (useCapacitor().getIsNative()) {
|
||||
await Browser.open({
|
||||
url: link.to,
|
||||
presentationStyle: "popover",
|
||||
})
|
||||
} else {
|
||||
window.open(link.to, "_blank")
|
||||
}
|
||||
window.open(link.to, "_blank")
|
||||
|
||||
} else {
|
||||
return navigateTo(link.to)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user