mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-02-02 19:26:37 +00:00
comment updates
This commit is contained in:
parent
d03417782d
commit
f529686a99
1 changed files with 1 additions and 7 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue