Skip to content

Drop onboarding reload ceremony#54

Merged
dadachi merged 1 commit into
substrate-v2from
substrate-v2--drop-onboarding-reload
Apr 29, 2026
Merged

Drop onboarding reload ceremony#54
dadachi merged 1 commit into
substrate-v2from
substrate-v2--drop-onboarding-reload

Conversation

@dadachi
Copy link
Copy Markdown
Contributor

@dadachi dadachi commented Apr 29, 2026

Mirror of upstream nativeapptemplate/NativeAppTemplate-iOS#64.

Summary

  • Drop reload() from OnboardingRepositoryProtocol and all impls. Onboarding slides are static client-side data, so the reload-then-read indirection through repository → viewModel → view.task was just ceremony.
  • Expose OnboardingViewModel.onboardings as a computed pass-through to the repository.
  • Remove the .task { viewModel.reload() } from OnboardingView.
  • Drop reloadCalled instrumentation from TestOnboardingRepository and update the corresponding tests.

Net diff: 8 files, +8/-104.

Test plan

  • make lint passes
  • xcodebuild ... build-for-testing succeeds (iPhone 17, iOS 26.4.1)
  • Run tests in Xcode (Cmd+U)
  • Launch app and confirm onboarding still renders 4 slides correctly

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit 54955d9 into substrate-v2 Apr 29, 2026
2 checks passed
@dadachi dadachi deleted the substrate-v2--drop-onboarding-reload branch April 29, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant