@@ -29,10 +29,9 @@ class BuySuccessScreen extends StatelessWidget {
2929 final payoutAmountSat = ConvertAmount .btcToSats (
3030 payoutAmountBtc,
3131 ); // Convert sats to BTC
32- final formattedPayOutAmount =
33- bitcoinUnit == BitcoinUnit .sats
34- ? FormatAmount .sats (payoutAmountSat)
35- : FormatAmount .btc (buyOrder.payoutAmount);
32+ final formattedPayOutAmount = bitcoinUnit == BitcoinUnit .sats
33+ ? FormatAmount .sats (payoutAmountSat)
34+ : FormatAmount .btc (buyOrder.payoutAmount);
3635 final payoutTime = buyOrder.scheduledPayoutTime;
3736
3837 return PopScope (
@@ -63,7 +62,11 @@ class BuySuccessScreen extends StatelessWidget {
6362 child: Column (
6463 mainAxisAlignment: .center,
6564 children: [
66- Icon (Icons .check_circle, size: 100 , color: context.appColors.success),
65+ Icon (
66+ Icons .check_circle,
67+ size: 100 ,
68+ color: context.appColors.success,
69+ ),
6770 const SizedBox (height: 20 ),
6871 Text (
6972 context.loc.buyYouBought (formattedPayOutAmount),
@@ -122,7 +125,7 @@ class BuySuccessScreen extends StatelessWidget {
122125 );
123126 },
124127 bgColor: context.appColors.secondary,
125- textColor: context.appColors.onPrimary ,
128+ textColor: context.appColors.onSecondary ,
126129 ),
127130 ],
128131 ),
0 commit comments