Skip to content

fix: show spinner during mobile init instead of connect form#177

Merged
PureWeen merged 1 commit intomainfrom
fix/mobile-init-spinner
Feb 25, 2026
Merged

fix: show spinner during mobile init instead of connect form#177
PureWeen merged 1 commit intomainfrom
fix/mobile-init-spinner

Conversation

@jfversluis
Copy link
Copy Markdown
Collaborator

Problem

On mobile, the connect screen (QR scan + manual URL entry) flashed immediately on app launch, even when saved connection settings existed and the app was already connecting in the background.

Fix

Added a check for _initializationComplete — while initialization is still running, a "Connecting…" spinner is shown (reusing the existing restoring-indicator CSS class). The connect form only appears after initialization finishes without a successful connection.

1 file changed, 7-line addition in Dashboard.razor.

On mobile, the connect screen (QR scan / manual URL entry) was shown
immediately on app launch even when saved connection settings exist.
This was confusing because the app was already connecting in the
background via InitializeAsync.

Now shows a 'Connecting…' spinner while _initializationComplete is
false, and only shows the connect form after init finishes without
a successful connection.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@PureWeen PureWeen force-pushed the fix/mobile-init-spinner branch from c241b62 to 885fc3e Compare February 25, 2026 23:24
@PureWeen PureWeen merged commit fd01b24 into main Feb 25, 2026
@PureWeen PureWeen deleted the fix/mobile-init-spinner branch February 25, 2026 23:25
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.

2 participants