Skip to content

Colota - Android GPS Location tracker

fix persistent welcome screen

Max Dietrich80d05cc89180
diff --git a/apps/mobile/src/contexts/TrackingProvider.tsx b/apps/mobile/src/contexts/TrackingProvider.tsx
index 41cf3e19..17f09a09 100644
--- a/apps/mobile/src/contexts/TrackingProvider.tsx
+++ b/apps/mobile/src/contexts/TrackingProvider.tsx
@@ -53,7 +53,9 @@ function parseRawSettings(allRaw: Record<string, string>): Settings {
customFields: allRaw.customFields ? JSON.parse(allRaw.customFields) : DEFAULT_SETTINGS.customFields,
- apiTemplate: (allRaw.apiTemplate as ApiTemplateName) ?? DEFAULT_SETTINGS.apiTemplate
+ apiTemplate: (allRaw.apiTemplate as ApiTemplateName) ?? DEFAULT_SETTINGS.apiTemplate,
+
+ hasCompletedSetup: allRaw.hasCompletedSetup === "true"
}
}