Unsaved changes dialogs should use "Discard"/"Cancel" buttons
Idea
The You have unsaved changes
dialog should use Discard
and Cancel
for the confirmation buttons. This follows the Material design guidelines and makes it more clear at a glance what will happen.
It could also be simplified to Discard changes?
or such.
Discard changes?
You have unsaved changes that will be lost.
Cancel
|Discard
Additional
"Communication → Confirmation & Acknowledgement" design guidelines
Example dialogsfrom the Alert Dialog design guidelines
Example dialogsDo
Don't