Fix pending transaction (#19733)

This commit is contained in:
Pavneet Singh
2023-08-18 11:31:54 +05:30
committed by GitHub
parent 463bc848b6
commit f56d89d377
@@ -195,6 +195,8 @@ public class PortfolioFragment
mPendingTxs = transactionInfos;
if (mCurrentPendingTx == null && mPendingTxs.size() > 0) {
mCurrentPendingTx = mPendingTxs.get(0);
} else if (mPendingTxs.size() == 0) {
mCurrentPendingTx = null;
}
updatePendingTxNotification();
});
@@ -397,7 +399,7 @@ public class PortfolioFragment
.getAccountNameForTransaction(mCurrentPendingTx));
approveTxBottomSheetDialogFragment.setApprovedTxObserver(this);
approveTxBottomSheetDialogFragment.show(
getFragmentManager(), ApproveTxBottomSheetDialogFragment.TAG_FRAGMENT);
getParentFragmentManager(), ApproveTxBottomSheetDialogFragment.TAG_FRAGMENT);
}
private void showEditVisibleDialog() {