File tree Expand file tree Collapse file tree
lib/features/send/ui/screens Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1123,7 +1123,7 @@ class _LnSwapSendInfoSection extends StatelessWidget {
11231123 children: [
11241124 Flexible (
11251125 child: BBText (
1126- swap! .orderId ! ,
1126+ swap! .order ! .orderNumber. toString () ,
11271127 style: context.font.bodyLarge,
11281128 color: context.appColors.secondary,
11291129 textAlign: .end,
@@ -1132,7 +1132,9 @@ class _LnSwapSendInfoSection extends StatelessWidget {
11321132 const Gap (4 ),
11331133 InkWell (
11341134 onTap: () {
1135- Clipboard .setData (ClipboardData (text: swap.orderId! ));
1135+ Clipboard .setData (
1136+ ClipboardData (text: swap.order! .orderNumber.toString ()),
1137+ );
11361138 },
11371139 child: Icon (
11381140 Icons .copy,
@@ -1385,7 +1387,7 @@ class _ChainSwapSendInfoSection extends StatelessWidget {
13851387 final orderSwap = context.select (
13861388 (SendCubit cubit) => cubit.state.lightningOrder,
13871389 );
1388- final swapId = orderSwap? .orderId ?? legacySwap! .id;
1390+ final swapId = orderSwap? .order ? .orderNumber. toString () ?? legacySwap! .id;
13891391 final sendAmount =
13901392 orderSwap? .order? .payinAmountSat.toInt () ?? legacySwap! .sendAmount! ;
13911393 final receiveAmount =
You can’t perform that action at this time.
0 commit comments