comment updates

This commit is contained in:
sneurlax 2023-01-24 17:31:39 -06:00
parent d03417782d
commit f529686a99

View file

@ -38,6 +38,7 @@ class BuyWarningPopup extends StatelessWidget {
Future<void> _buyInvoice() async { Future<void> _buyInvoice() async {
await showDialog<void>( await showDialog<void>(
context: context, context: context,
// useRootNavigator: isDesktop,
builder: (context) => BuyOrderDetailsView( builder: (context) => BuyOrderDetailsView(
order: order as SimplexOrder, order: order as SimplexOrder,
), ),
@ -63,13 +64,6 @@ class BuyWarningPopup extends StatelessWidget {
Navigator.of(context, rootNavigator: isDesktop).pop(); Navigator.of(context, rootNavigator: isDesktop).pop();
await _buyInvoice(); await _buyInvoice();
}); });
// BuyResponse<bool> 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( icon: SizedBox(