Use BaseDialog for DeactivateAccountDialog#1631
Conversation
Alter DeactivateAccountDialog to derive from BaseDialog.
|
Isn't DeactivateAccountDialog basically a QuestionDialog with the addition of a password check? Would it be possible to either base this off QuestionDialog, or turn this into some sort of more generic QuestionWithPasswordConfirmationDialog (at some point in the future if not now?) |
dbkr
left a comment
There was a problem hiding this comment.
Looks like this will lose the red title from the dialog, This isn't necessarily a problem if everyone if OK with that?
|
Getting out of scope for this PR, but might make sense to have some sort of generic importance flag (which would control if you get a "normal" dialog, or red titles, big exclamation marks etc.) |
|
Regrettably blocked behind #1652 |
|
Closing since this is now superseded by your other PR (#1674) |
|
Oops, sorry for the doubleup! |
Alter DeactivateAccountDialog to derive from BaseDialog.
Fixes element-hq/element-web#5694.
Signed-off-by: Aidan Gauland aidalgol@fastmail.net