@@ -837,11 +856,27 @@ export default class CreateSecretStorageDialog extends React.PureComponent
;
+ }
+
+ return null;
+ }
+
+ private get classNames(): string {
+ return classNames("mx_CreateSecretStorageDialog", {
+ mx_SuccessDialog: this.state.phase === Phase.Stored,
+ });
+ }
+
public render(): React.ReactNode {
let content;
if (this.state.error) {
@@ -884,6 +919,9 @@ export default class CreateSecretStorageDialog extends React.PureComponent
{
mx_Dialog_fixedWidth: this.props.fixedWidth,
})}
>
+ {this.props.top}
{