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 334c52b3c..082a19306 100644 --- a/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart +++ b/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart @@ -29,7 +29,18 @@ class BuyWarningPopup extends StatelessWidget { SimplexOrder? order; Future> newOrder(SimplexQuote quote) async { - return SimplexAPI.instance.newOrder(quote); + final response = await SimplexAPI.instance.newOrder(quote); + + // if (response.value != null) { + // ref.read(simplexProvider).updateOrder(response.value!); + // } else { + // Logging.instance.log( + // "_loadQuote: $response", + // level: LogLevel.Warning, + // ); + // } + + return response; } Future> redirect(SimplexOrder order) async {