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

Option to edit the server #29

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Option to edit the server #29

merged 2 commits into from
Aug 12, 2024

Conversation

stephenvaz
Copy link
Contributor

@stephenvaz stephenvaz commented Aug 3, 2024

Hi, I (a user of PrivateDNSAndroid) recently updated from version 1.3 to 1.7, wherein the labels were implemented. I immediately wanted to edit my servers but on tapping them I was only presented with an option to delete the server.

Obviously, a user can delete and re-create the entry with a label, but I thought that having an option to edit is much easier.

I have modified the AddServerDialogFragment mainly to also act as the editable dialog when clicked upon and have also added the Delete button which opens the delete dialog.

I primarily work with Flutter and am relatively new to Native Android Development. This is my first contribution so let me know if I could've done any better.

Screenrecording_20240803_170739.mp4

@stephenvaz
Copy link
Contributor Author

@karasevm Also added a TextView when the items are empty
image

@karasevm karasevm merged commit 470f844 into karasevm:main Aug 12, 2024
@karasevm
Copy link
Owner

Looks good to me, thanks for your contribution

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.

2 participants