fix: resolve auto-connect race conditions and pairing success redirects

This commit is contained in:
2026-07-04 14:50:11 -06:00
parent cffbeb0e4c
commit e4048fd78c
3 changed files with 33 additions and 13 deletions

View File

@@ -125,8 +125,8 @@ fun Application.module() {
}
}
// Send pairing success indicator screen only if we actually paired in this session
if (showedPairingScreen) {
// Send pairing success indicator screen only if we actually paired in this session AND no specific profile was requested
if (showedPairingScreen && profileId == null) {
val successMessage = Message(
id = "pairing_success_$deviceId",
title = "Pairing Successful",