fix(android): Approve & add no-op from shared Compose busy flag
All checks were successful
ci / test (pull_request) Successful in 2m32s

PasteInviteScreen drove Verify and Approve from one busy boolean plus
LaunchedEffect(busy). Tapping Approve relaunched decode, which cleared
busy and cancelled add — so the roster never updated.

Extract InviteAddFlow with separate verifying/adding flags and launch
each action from its click handler. Unit tests were red against the
shared-busy state machine (4/5 failed) and green after the split (5/5).
This commit is contained in:
Sirius DevOps 2026-09-10 23:14:43 -04:00
commit f6ac5ea738
No known key found for this signature in database
5 changed files with 211 additions and 33 deletions

View file

@ -87,4 +87,7 @@ dependencies {
implementation(libs.compose.material3)
debugImplementation(libs.compose.ui.tooling)
testImplementation(libs.junit)
testImplementation(libs.kotlinx.coroutines.test)
}