From f529686a99f290fe4e7351c92e9216b3d81a353e Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 24 Jan 2023 17:31:39 -0600 Subject: [PATCH] comment updates --- lib/pages/buy_view/sub_widgets/buy_warning_popup.dart | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 bb1fa246a..f62bf435d 100644 --- a/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart +++ b/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart @@ -38,6 +38,7 @@ class BuyWarningPopup extends StatelessWidget { Future _buyInvoice() async { await showDialog( context: context, + // useRootNavigator: isDesktop, builder: (context) => BuyOrderDetailsView( order: order as SimplexOrder, ), @@ -63,13 +64,6 @@ class BuyWarningPopup extends StatelessWidget { Navigator.of(context, rootNavigator: isDesktop).pop(); await _buyInvoice(); }); - // BuyResponse response = - // await redirect(order.value as SimplexOrder).then((order) { - // // How would I correctly popUntil here? - // // TODO save order - // // TODO show order confirmation page - // return order; - // }); }, ), icon: SizedBox(