diff --git a/lib/pages/buy_view/buy_order_invoice.dart b/lib/pages/buy_view/buy_order_invoice.dart index 66be608bf..4b17ef1b1 100644 --- a/lib/pages/buy_view/buy_order_invoice.dart +++ b/lib/pages/buy_view/buy_order_invoice.dart @@ -42,7 +42,7 @@ class _BuyOrderInvoiceViewState extends State { Theme.of(context).extension()!.backgroundAppBar, leading: const AppBarBackButton(), title: Text( - "Order invoice", + "Order details", style: STextStyles.navBarTitle(context), ), ), @@ -77,12 +77,72 @@ class _BuyOrderInvoiceViewState extends State { crossAxisAlignment: CrossAxisAlignment.stretch, children: [ Text( - "Simplex Order", + "Simplex order", style: STextStyles.pageTitleH1(context), ), const SizedBox( height: 16, ), + RoundedWhiteContainer( + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "Purchase ID", + style: STextStyles.label(context), + ), + Text( + widget.order.paymentId, + style: STextStyles.label(context).copyWith( + color: Theme.of(context).extension()!.textDark, + ), + ), + ], + ), + ), + const SizedBox( + height: 8, + ), + RoundedWhiteContainer( + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "User ID", + style: STextStyles.label(context), + ), + Text( + widget.order.userId, + style: STextStyles.label(context).copyWith( + color: Theme.of(context).extension()!.textDark, + ), + ), + ], + ), + ), + const SizedBox( + height: 8, + ), + RoundedWhiteContainer( + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Text( + "Quote ID", + style: STextStyles.label(context), + ), + Text( + widget.order.quote.id, + style: STextStyles.label(context).copyWith( + color: Theme.of(context).extension()!.textDark, + ), + ), + ], + ), + ), + const SizedBox( + height: 8, + ), RoundedWhiteContainer( child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, @@ -163,66 +223,6 @@ class _BuyOrderInvoiceViewState extends State { const SizedBox( height: 8, ), - RoundedWhiteContainer( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - "Quote ID", - style: STextStyles.label(context), - ), - Text( - widget.order.quote.id, - style: STextStyles.label(context).copyWith( - color: Theme.of(context).extension()!.textDark, - ), - ), - ], - ), - ), - const SizedBox( - height: 8, - ), - RoundedWhiteContainer( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - "Purchase ID", - style: STextStyles.label(context), - ), - Text( - widget.order.paymentId, - style: STextStyles.label(context).copyWith( - color: Theme.of(context).extension()!.textDark, - ), - ), - ], - ), - ), - const SizedBox( - height: 8, - ), - RoundedWhiteContainer( - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Text( - "User ID", - style: STextStyles.label(context), - ), - Text( - widget.order.userId, - style: STextStyles.label(context).copyWith( - color: Theme.of(context).extension()!.textDark, - ), - ), - ], - ), - ), - const SizedBox( - height: 8, - ), RoundedWhiteContainer( child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween,