Skip to content

Comments

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

Open
jfversluis wants to merge 1 commit intomainfrom
fix/mobile-init-spinner
Open

fix: show spinner during mobile init instead of connect form#177
jfversluis wants to merge 1 commit intomainfrom
fix/mobile-init-spinner

Conversation

@jfversluis
Copy link
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>
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