Skip to content

Dialog buttons set as opposite to Android design conventions #3428

@aryan-earth

Description

@aryan-earth

Summary:
The text of positive and negative buttons of the dialogs in DialogUtils has been set as the opposite and should we swapped. The positive button text is set as "No" and the negative button text is set as "Yes" as evident in the image attached below.

Side notes:
This issue was created from a discussion that happened at #3397. The relevant discussion starts from #3397 (comment). This was created to discuss the rationale behind why the buttons are the way they are now, if there are any reasons.

Device and Android version:
Redmi Note 5 Pro & Android 9

Commons app version:
2.12.3-debug-testing~65592539b

Screen-shots:

Current state
Screenshot from 2020-02-24 01-50-40
Should be like the image below:
Screenshot from 2020-02-24 01-53-26

Would you like to work on the issue?

Sure. Although, if a new volunteer wants to get their hands dirty in the commons code, this could be a great opportunity for them. This could be marked as a Good First Issue.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions