fix(android): Approve and add no-op from shared Compose busy flag #18
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_af421dc6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Phone bug: Approve and add did nothing after a successful Verify. Two
LaunchedEffects shared onebusyflag; tapping Approve relaunched decode, which clearedbusyand cancelled add.Fix: extract
InviteAddFlowwith separateverifying/addingflags. Each click handler launches its own coroutine. Composable stays dumb.Android-only. No Rust/SDK/TUI/protocol changes.
Tests
./gradlew :app:testDebugUnitTest(shared-busy): 5 tests, 4 failed (add never ran / double-tap hung).failed_decode_sets_error_and_never_calls_onAddpassed.TEST-com.siriusdevops.onionwire.ui.InviteAddFlowTest.xml).APK
android/app/build/outputs/apk/debug/app-debug.apk~37M (built on the previous run of this card). Not rebuilt after rebase — only TUI commits landed onmainsince.On-device
Not run. No emulator and no
adbdevice on this machine. A green unit test is not a phone.Manual: install the debug APK, add a friend, paste invite, Verify (preview card), Approve and add. Expect the Added line and the friend in the roster.
Please do not merge until you have tapped it on a phone.