fix: resolve auto-connect race conditions and pairing success redirects
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user