fix: Bootstrap wipe

This commit is contained in:
Christian Pauly 2021-02-13 17:32:58 +01:00
parent 395e62e96a
commit 774f674031

View File

@ -513,14 +513,15 @@ class _SettingsState extends State<Settings> {
message: L10n.of(context).wipeChatBackup, message: L10n.of(context).wipeChatBackup,
isDestructiveAction: true, isDestructiveAction: true,
)) { )) {
return BootstrapDialog( await BootstrapDialog(
l10n: L10n.of(context), l10n: L10n.of(context),
client: Matrix.of(context).client, client: Matrix.of(context).client,
wipe: true, wipe: true,
).show(context); ).show(context);
} }
return;
} }
return BootstrapDialog( await BootstrapDialog(
l10n: L10n.of(context), l10n: L10n.of(context),
client: Matrix.of(context).client, client: Matrix.of(context).client,
).show(context); ).show(context);