Skip to content

Commit

Permalink
swap receiving ui fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mocodesmo committed May 2, 2024
1 parent 3b853e8 commit 0a30f77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/home/bloc/state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class HomeState with _$HomeState {
Transaction? getTxFromSwap(SwapTx swap) {
final isLiq = swap.walletType == BaseWalletType.Liquid;
final network = swap.network;
final wallet = isLiq
final wallet = !isLiq
? getMainSecureWallet(network)?.state.wallet
: getMainInstantWallet(network)?.state.wallet;
if (wallet == null) return null;
Expand Down
3 changes: 2 additions & 1 deletion lib/swap/receive.dart
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,9 @@ class _ReceivingSwapPageState extends State<ReceivingSwapPage> {
},
child: Scaffold(
appBar: AppBar(
automaticallyImplyLeading: false,
flexibleSpace: BBAppBar(
text: 'Swap Received',
text: 'Payment Status',
onBack: () {
if (received)
context.go('/home');
Expand Down

0 comments on commit 0a30f77

Please sign in to comment.