Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Publish recover dlc background task #1825

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

holzeis
Copy link
Contributor

@holzeis holzeis commented Jan 16, 2024

I've added a panic before accepting the SettleOffer to demonstrate how the recovery would look like.

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-01-16.at.22.08.03.mp4

Note, there is still a bug left in which sometimes the dialog would not be shown, due to the shellNavigationKey.currentContext being empty. That was definitely already an issue before. Unfortunately, I couldn't find a fix for that in this PR.

This ensures that the app will show a dialog that the dlc protocol got interrupted and is in the process of recovery.
This is not needed anymore due to the new recovery logic.
@holzeis holzeis self-assigned this Jan 16, 2024
@holzeis holzeis linked an issue Jan 16, 2024 that may be closed by this pull request
Base automatically changed from feat/recover-from-pending-offer to main January 16, 2024 21:27
Copy link
Contributor

@bonomat bonomat left a comment

Choose a reason for hiding this comment

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

LGTM

@holzeis holzeis added this pull request to the merge queue Jan 17, 2024
Merged via the queue into main with commit f6288bf Jan 17, 2024
10 checks passed
@holzeis holzeis deleted the chore/show-recovery-dialog-on-interrupted-protocol branch January 17, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DLC-channel protocol recovery on restart
2 participants