From 774f674031786c2d6fab57b17982aaeb76b9d4f1 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 13 Feb 2021 17:32:58 +0100 Subject: [PATCH] fix: Bootstrap wipe --- lib/views/settings.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/views/settings.dart b/lib/views/settings.dart index 867d2b63..ac87bda6 100644 --- a/lib/views/settings.dart +++ b/lib/views/settings.dart @@ -513,14 +513,15 @@ class _SettingsState extends State { message: L10n.of(context).wipeChatBackup, isDestructiveAction: true, )) { - return BootstrapDialog( + await BootstrapDialog( l10n: L10n.of(context), client: Matrix.of(context).client, wipe: true, ).show(context); } + return; } - return BootstrapDialog( + await BootstrapDialog( l10n: L10n.of(context), client: Matrix.of(context).client, ).show(context);