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

improve "Edit Name" dialog #2288

Merged
merged 2 commits into from
Aug 29, 2024
Merged

improve "Edit Name" dialog #2288

merged 2 commits into from
Aug 29, 2024

Conversation

r10s
Copy link
Member

@r10s r10s commented Aug 22, 2024

this PR sets placeholder and footer according to suggestions at #2286

moreover, the title is changed to "Edit Name" and the email address is hidden (as on android/desktop - the dialog focuses on the nickname)

i first tried to follow the way of subclassing NewContactController, however that became even more hacky as before (cells would needed to be var, first reponder check in base class would needed to be changed etc.). not worth few lines of saved code.

therefore, i made EditContactController self-contained and independet. it is 20 lines more, but straight-forward and no hacks so one does not need to check what in the super-class happens all the time.

closes #2286

before / after - note the improved placeholder and footer and the general cleanup :)

Copy link
Collaborator

@zeitschlag zeitschlag left a comment

Choose a reason for hiding this comment

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

Nice!

@zeitschlag zeitschlag merged commit 0599501 into main Aug 29, 2024
1 check passed
@zeitschlag zeitschlag deleted the r10s/improve-edit-name branch August 29, 2024 17:34
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.

enhance "edit name" dialog
2 participants