diff --git a/lib/pages/buy_view/buy_order_invoice.dart b/lib/pages/buy_view/buy_order_details.dart similarity index 97% rename from lib/pages/buy_view/buy_order_invoice.dart rename to lib/pages/buy_view/buy_order_details.dart index 4b17ef1b1..2b584578e 100644 --- a/lib/pages/buy_view/buy_order_invoice.dart +++ b/lib/pages/buy_view/buy_order_details.dart @@ -11,21 +11,21 @@ import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; import 'package:stackwallet/widgets/desktop/primary_button.dart'; import 'package:stackwallet/widgets/rounded_white_container.dart'; -class BuyOrderInvoiceView extends StatefulWidget { - const BuyOrderInvoiceView({ +class BuyOrderDetailsView extends StatefulWidget { + const BuyOrderDetailsView({ Key? key, required this.order, }) : super(key: key); final SimplexOrder order; - static const String routeName = "/buyOrderInvoice"; + static const String routeName = "/buyOrderDetails"; @override - State createState() => _BuyOrderInvoiceViewState(); + State createState() => _BuyOrderDetailsViewState(); } -class _BuyOrderInvoiceViewState extends State { +class _BuyOrderDetailsViewState extends State { final isDesktop = Util.isDesktop; @override 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 069a93572..bb1fa246a 100644 --- a/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart +++ b/lib/pages/buy_view/sub_widgets/buy_warning_popup.dart @@ -4,7 +4,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_svg/svg.dart'; import 'package:stackwallet/models/buy/response_objects/order.dart'; import 'package:stackwallet/models/buy/response_objects/quote.dart'; -import 'package:stackwallet/pages/buy_view/buy_order_invoice.dart'; +import 'package:stackwallet/pages/buy_view/buy_order_details.dart'; import 'package:stackwallet/services/buy/buy_response.dart'; import 'package:stackwallet/services/buy/simplex/simplex_api.dart'; import 'package:stackwallet/utilities/assets.dart'; @@ -38,7 +38,7 @@ class BuyWarningPopup extends StatelessWidget { Future _buyInvoice() async { await showDialog( context: context, - builder: (context) => BuyOrderInvoiceView( + builder: (context) => BuyOrderDetailsView( order: order as SimplexOrder, ), );