this PR tints immediately destructive buttons with a red color. the idea is to make visually more clear that there is some irreversible action taking place; this is also what other apps are doing.
i was also thinking about subclassing AlertDialog, however, that would result in more complex code at the first glance
the color is the same as for the menu entries, which works nicely in dark as well as light mode.
this PR tints immediately destructive buttons with a red color. the idea is to make visually more clear that there is some irreversible action taking place; this is also what other apps are doing.
i was also thinking about subclassing
AlertDialog
, however, that would result in more complex code at the first glancethe color is the same as for the menu entries, which works nicely in dark as well as light mode.
this PR is a replacement for https://github.com/deltachat/deltachat-android/pull/3212 and a successor of https://github.com/deltachat/deltachat-android/pull/3182 and https://github.com/deltachat/deltachat-android/pull/3183