Skip to content

Commit

Permalink
RECEIVE - fix trigger for payjoin logic init when nav from /wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
mocodesmo committed Dec 27, 2024
1 parent e77d376 commit 8a96430
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/receive/bloc/receive_cubit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class ReceiveCubit extends Cubit<ReceiveState> {
),
) {
loadAddress();
if (walletBloc != null) updateWalletBloc(walletBloc);
}

final WalletAddress _walletAddress;
Expand All @@ -36,7 +37,7 @@ class ReceiveCubit extends Cubit<ReceiveState> {
}

Future<void> updateWalletBloc(WalletBloc walletBloc) async {
if (state.oneWallet) return;
// if (state.oneWallet) return;
emit(
state.copyWith(
walletBloc: walletBloc,
Expand Down

0 comments on commit 8a96430

Please sign in to comment.