Let's come back to the specifics of the initial message.
It seems that the issue only exists on the message view screen, and only for this "secondary" menu item, i.e. when the account's "delete method" is specifically not "delete permanently"
( when it is, it's a button in the button bar below )
On Windows, I'd just put a separator above "delete permanently". Alas, Android menus do not support separators.
How about this then:
Exclude this specific case of "delete permanently" from "undo"? Unconditionally (no setting)?
I mean just the "delete permanently" menu item in the overflow menu specifically of message view specifically?
It seems that the issue only exists on the message view screen, and only for this "secondary" menu item, i.e. when the account's "delete method" is specifically not "delete permanently"
( when it is, it's a button in the button bar below )
On Windows, I'd just put a separator above "delete permanently". Alas, Android menus do not support separators.
How about this then:
Exclude this specific case of "delete permanently" from "undo"? Unconditionally (no setting)?
I mean just the "delete permanently" menu item in the overflow menu specifically of message view specifically?