Skip to content

Conversation

@takaokouji
Copy link

Summary

Updated the connection modal to correctly handle asynchronous disconnection events.

Changes

  • ConnectionModal:
    • Listens for PERIPHERAL_DISCONNECTED events.
    • Updates local state to return to the scanning phase when disconnected.
    • Ensures the UI stays in sync with the extension state.

- Added listener for PERIPHERAL_DISCONNECTED event
- Automatically resets modal phase to scanning when connection is lost
@takaokouji takaokouji merged commit 93a9d6f into develop Dec 28, 2025
2 checks passed
@takaokouji takaokouji deleted the feature/connection-modal-disconnect branch December 28, 2025 00:56
github-actions bot pushed a commit that referenced this pull request Dec 28, 2025
…ction-modal-disconnect

fix: update connection modal state on peripheral disconnection
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