diff options
Diffstat (limited to 'src/view/shell/index.tsx')
-rw-r--r-- | src/view/shell/index.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/shell/index.tsx b/src/view/shell/index.tsx index 8b4c65b8f..277e5c523 100644 --- a/src/view/shell/index.tsx +++ b/src/view/shell/index.tsx @@ -13,7 +13,7 @@ import {useNotificationsRegistration} from '#/lib/notifications/notifications' import {isStateAtTabRoot} from '#/lib/routes/helpers' import {isAndroid, isIOS} from '#/platform/detection' import {useDialogFullyExpandedCountContext} from '#/state/dialogs' -import {useGeolocation} from '#/state/geolocation' +import {useGeolocationStatus} from '#/state/geolocation' import {useSession} from '#/state/session' import { useIsDrawerOpen, @@ -184,7 +184,7 @@ function ShellInner() { export function Shell() { const t = useTheme() - const {geolocation} = useGeolocation() + const {status: geolocation} = useGeolocationStatus() const fullyExpandedCount = useDialogFullyExpandedCountContext() useIntentHandler() |