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

Fix issues with dns dialog showing wrong state after submitting #6617

Merged

Conversation

Pururun
Copy link
Contributor

@Pururun Pururun commented Aug 14, 2024

Changed it so that settings is only fetched at the creation of the dialogue.

This fixes all issues with the state being wrong for a short while after pressing submit.

Tested cases that are fixed:

  • "Add DNS server" changed to "Update DNS server"
  • Remove button showing briefly (related to the above bug)
  • "This address has already been entered" showing briefly.

This change is Reviewable

@Pururun Pururun added the Android Issues related to Android label Aug 14, 2024
@Pururun Pururun requested a review from albin-mullvad August 14, 2024 12:07
Copy link

linear bot commented Aug 14, 2024

@Pururun Pururun force-pushed the adding-custom-dns-briefly-shows-error-on-submit-droid-1230 branch from 6707eb6 to ad9d9f5 Compare August 14, 2024 12:08
Copy link
Collaborator

@albin-mullvad albin-mullvad left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@Pururun Pururun force-pushed the adding-custom-dns-briefly-shows-error-on-submit-droid-1230 branch from ad9d9f5 to b5cb266 Compare August 15, 2024 08:28
@albin-mullvad albin-mullvad force-pushed the adding-custom-dns-briefly-shows-error-on-submit-droid-1230 branch from b5cb266 to 5f70bee Compare August 15, 2024 08:35
@albin-mullvad albin-mullvad merged commit 1d893ca into main Aug 15, 2024
24 checks passed
@albin-mullvad albin-mullvad deleted the adding-custom-dns-briefly-shows-error-on-submit-droid-1230 branch August 15, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Issues related to Android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants