fix: don't seed fresh installs with fake prayer logs #21

Merged
uwayss merged 1 commit from claude/fix-fresh-install-fake-logs-19 into main 2026-08-30 20:20:59 +00:00
Owner

initialize() defaulted initialLogs to MOCK_LOGS before checking
whether saved data existed, so a fresh install with no loadedData
kept the hardcoded 2025-08-28/29 demo logs, making the Stats screen
and activity graph show fake data. Default to [] instead; remove the
now-unused MOCK_LOGS export.

Fixes #19

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

initialize() defaulted initialLogs to MOCK_LOGS before checking whether saved data existed, so a fresh install with no loadedData kept the hardcoded 2025-08-28/29 demo logs, making the Stats screen and activity graph show fake data. Default to [] instead; remove the now-unused MOCK_LOGS export. Fixes #19 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
fix: don't seed fresh installs with fake prayer logs
Some checks failed
Checks / checks (pull_request) Failing after 20s
195c6f6daf
initialize() defaulted initialLogs to MOCK_LOGS before checking
whether saved data existed, so a fresh install with no loadedData
kept the hardcoded 2025-08-28/29 demo logs, making the Stats screen
and activity graph show fake data. Default to [] instead; remove the
now-unused MOCK_LOGS export.

Fixes #19

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Author
Owner

the checks are failing not because of it's changes. merging anyways

the checks are failing not because of it's changes. merging anyways
uwayss merged commit 0b44e74396 into main 2026-08-30 20:20:59 +00:00
uwayss deleted branch claude/fix-fresh-install-fake-logs-19 2026-08-30 20:20:59 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
uwayss/muhsin!21
No description provided.