fix(android): Approve & add no-op from shared Compose busy flag
All checks were successful
ci / test (pull_request) Successful in 2m32s
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:
parent
af7d69ace8
commit
f6ac5ea738
5 changed files with 211 additions and 33 deletions
|
|
@ -87,4 +87,7 @@ dependencies {
|
|||
implementation(libs.compose.material3)
|
||||
|
||||
debugImplementation(libs.compose.ui.tooling)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
testImplementation(libs.kotlinx.coroutines.test)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue