diff --git a/lib/home/bloc/state.dart b/lib/home/bloc/state.dart index f91c2e97..f434710e 100644 --- a/lib/home/bloc/state.dart +++ b/lib/home/bloc/state.dart @@ -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; diff --git a/lib/swap/receive.dart b/lib/swap/receive.dart index 8d7eab68..23077e78 100644 --- a/lib/swap/receive.dart +++ b/lib/swap/receive.dart @@ -312,8 +312,9 @@ class _ReceivingSwapPageState extends State { }, child: Scaffold( appBar: AppBar( + automaticallyImplyLeading: false, flexibleSpace: BBAppBar( - text: 'Swap Received', + text: 'Payment Status', onBack: () { if (received) context.go('/home');