Skip to content

fix: center FirstLaunchView window and fix countdown timer#19

Merged
ikorich merged 1 commit into
developfrom
feature/dakar-v1
Jan 3, 2026
Merged

fix: center FirstLaunchView window and fix countdown timer#19
ikorich merged 1 commit into
developfrom
feature/dakar-v1

Conversation

@ikorich
Copy link
Copy Markdown
Member

@ikorich ikorich commented Jan 3, 2026

Summary

  • Force NSHostingController layout before centering to ensure correct window size calculation
  • Changed successCountDown from @State to let to properly propagate parent viewmodel updates
  • Countdown timer now correctly decrements and displays before window closes
  • Minor formatting fixes (whitespace/indentation)

Test plan

  • Launch app for first time to trigger FirstLaunchView
  • Verify window appears centered on screen
  • Verify countdown timer updates every second and closes window after completion

- Force NSHostingController layout before centering to calculate correct window size
- Change successCountDown from @State to let to properly track parent viewmodel updates
- Countdown now correctly decrements and displays before closing the window
@ikorich ikorich merged commit 811707d into develop Jan 3, 2026
@ikorich ikorich deleted the feature/dakar-v1 branch January 3, 2026 16:27
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