Skip to content

Fix address book transfer dialog dismissal#6296

Merged
crossle merged 1 commit intomasterfrom
fix/address-book-dialog-dismiss
Apr 14, 2026
Merged

Fix address book transfer dialog dismissal#6296
crossle merged 1 commit intomasterfrom
fix/address-book-dialog-dismiss

Conversation

@SeniorZhai
Copy link
Copy Markdown
Member

No description provided.

@SeniorZhai SeniorZhai requested a review from Copilot April 14, 2026 14:53
@SeniorZhai SeniorZhai added the bug Something isn't working label Apr 14, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes an issue where the transfer flow triggered from the address book could leave the UI in a bad state (progress dialog not dismissed / coroutine cancelled) by ensuring work is launched on the parent fragment scope and progress dialog dismissal is guaranteed.

Changes:

  • Launch the address-book selection transfer work using TransferDestinationInputFragment.lifecycleScope (instead of the address book bottom sheet’s scope).
  • Ensure the progress dialog is always dismissed via try/finally around the suspend work.
  • Minor scoping qualification for a lifecycleScope.launch call in the label completion path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@crossle crossle merged commit c77eeed into master Apr 14, 2026
6 checks passed
@crossle crossle deleted the fix/address-book-dialog-dismiss branch April 14, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants