|
@@ -13,6 +13,7 @@ import 'package:photos/ui/components/button_widget.dart';
|
|
import 'package:photos/ui/components/dialog_widget.dart';
|
|
import 'package:photos/ui/components/dialog_widget.dart';
|
|
import 'package:photos/ui/components/models/button_type.dart';
|
|
import 'package:photos/ui/components/models/button_type.dart';
|
|
import 'package:photos/utils/crypto_util.dart';
|
|
import 'package:photos/utils/crypto_util.dart';
|
|
|
|
+import 'package:photos/utils/dialog_util.dart';
|
|
import 'package:photos/utils/email_util.dart';
|
|
import 'package:photos/utils/email_util.dart';
|
|
import 'package:photos/utils/toast_util.dart';
|
|
import 'package:photos/utils/toast_util.dart';
|
|
|
|
|
|
@@ -187,6 +188,9 @@ class DeleteAccountPage extends StatelessWidget {
|
|
),
|
|
),
|
|
],
|
|
],
|
|
);
|
|
);
|
|
|
|
+ if (choice == ButtonAction.error) {
|
|
|
|
+ showGenericErrorDialog(context);
|
|
|
|
+ }
|
|
if (choice != ButtonAction.first) {
|
|
if (choice != ButtonAction.first) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|