slapperwan / gh4a

Github client for Android
Apache License 2.0
1.69k stars 221 forks source link

Confirm when discarding edit #1052

Open nhfo opened 3 years ago

nhfo commented 3 years ago

I have seen following while creating new issues. App happily discards whatever one has composed if back arrow is pressed. It should show dialogue box to confirm before discarding edit.

I have managed to press back button multiple times in this way. It has happened mostly while i was previewing edit, some how i subconsciously assume that back button will take me to edit view.

I suppose it applies to comments as well.

Fs00 commented 3 years ago

+1 on this! It's very frustrating to accidentally discard an issue when you are halfway through :/