about summary refs log tree commit diff
path: root/src/state/geolocation.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/geolocation.tsx')
-rw-r--r--src/state/geolocation.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/state/geolocation.tsx b/src/state/geolocation.tsx
index 4581996a0..a69161324 100644
--- a/src/state/geolocation.tsx
+++ b/src/state/geolocation.tsx
@@ -25,6 +25,7 @@ const onGeolocationUpdate = (
  */
 export const DEFAULT_GEOLOCATION: Device['geolocation'] = {
   countryCode: undefined,
+  isAgeBlockedGeo: undefined,
   isAgeRestrictedGeo: false,
 }
 
@@ -40,6 +41,7 @@ async function getGeolocation(): Promise<Device['geolocation']> {
   if (json.countryCode) {
     return {
       countryCode: json.countryCode,
+      isAgeBlockedGeo: json.isAgeBlockedGeo ?? false,
       isAgeRestrictedGeo: json.isAgeRestrictedGeo ?? false,
     }
   } else {