33mhz / robin

Android client for Pnut.io
5 stars 1 forks source link

Cancel post button on different side than cancel message button #36

Closed schmidt-fu closed 7 years ago

schmidt-fu commented 7 years ago

When you write a post, and hit the devices "Back" button, choosing the left button on the subsequent "Are you sure" dialog leaves the activity with no further side effect (right button saves to Drafts).

When you write a message, and hit "Back", the left button on the dialog with same title won't get you out (and the right side button deletes instead of saves your content).

This mismatch can be confusing and

schmidt-fu commented 7 years ago

...prevents a consistent behaviour for "I don't want to continue writing this" to be learned,

33mhz commented 7 years ago

Agreed. I'll change it to be like this, on [X] of a post and message:

post:

Are you sure?
Discard all changes?
Save draft | Cancel | Yes

message:

Are you sure?
Discard all changes?
Cancel | Yes