From c86c2e37e29da00840d68c56bc51aa785cd6c838 Mon Sep 17 00:00:00 2001 From: PaulaScharf Date: Wed, 4 Sep 2024 13:26:42 +0200 Subject: [PATCH] add geolocation access permission popup --- src/components/Device/GeolocationPermissionDrawer.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Device/GeolocationPermissionDrawer.tsx b/src/components/Device/GeolocationPermissionDrawer.tsx index 7bd82c8..f940510 100644 --- a/src/components/Device/GeolocationPermissionDrawer.tsx +++ b/src/components/Device/GeolocationPermissionDrawer.tsx @@ -8,6 +8,7 @@ import { DrawerHeader, DrawerTitle, } from '../ui/drawer' +import { Geolocation } from '@capacitor/geolocation'; export default function GeolocationPermissionDrawer() { const showGeolocationPermissionsDrawer = usePermissionsStore( @@ -41,7 +42,10 @@ export default function GeolocationPermissionDrawer() {