From ad5f9b3de48ae5e69f515e55a5cc478829c11af6 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Fri, 27 Jan 2023 16:05:57 -0600 Subject: [PATCH] pop thrice --- lib/pages/buy_view/sub_widgets/buy_warning_popup.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart b/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart index 4b99a66d8..c98d53580 100644 --- a/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart +++ b/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart @@ -157,7 +157,11 @@ class BuyWarningPopup extends StatelessWidget { child: PrimaryButton( buttonHeight: ButtonHeight.l, label: "Ok", - onPressed: Navigator.of(context).pop, + onPressed: () { + Navigator.of(context).pop(); + Navigator.of(context).pop(); + Navigator.of(context).pop(); // weee + }, ), ), ],